CUnit - A Unit Testing Framework for C

  •        717

CUnit is a lightweight system for writing, administering, and running unit tests in C. It provides C programmers a basic testing functionality with a flexible variety of user interfaces. CUnit is built as a static library which is linked with the user's testing code. It uses a simple framework for building test structures, and provides a rich set of assertions for testing common data types.

http://cunit.sourceforge.net
http://sourceforge.net/projects/cunit/

Tags
Implementation
License
Platform

   




Related Projects

qunit - An easy-to-use JavaScript Unit Testing Framework


QUnit is a powerful, easy-to-use, JavaScript unit testing framework. It's used by the jQuery project to test its code and plugins but is capable of testing any generic JavaScript code (and even capable of testing JavaScript code on the server-side).

Unit Test Extension Library


The UnitTestEx library is designed to reduce the friction often experienced when writing unit tests. Features include: • Comparing object graphs for equality (deep) • Simplified testing of data access code • Easier Fakes using the Test Spy Pattern • Test Spy pattern components

assert - Test::Unit style testing framework, just better than Test::Unit.


Test::Unit style testing framework, just better than Test::Unit.

JUnit - A programmer-oriented testing framework for Java


JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.

D-Unit-Tests-in-CPP - A dead-simple C++ unit test framework that mimics D's unit testing syntax.


A dead-simple C++ unit test framework that mimics D's unit testing syntax.



QueryUnit


A project that allow the execution of Unit Testing against a database (Relational or Multidimensional). It uses NUnit as unit-testing framework and does not require DBA or BI Developer to know anything about .NET: just write your SQL or MDX queries and test them

xunit - xUnit


xUnit.net is a free, open source, community-focused unit testing tool for the .NET Framework. Written by the original inventor of NUnit v2, xUnit.net is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. xUnit.net works with ReSharper, CodeRush, TestDriven.NET and Xamarin. It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license).For project documentation, please visit the xUnit.net project home.

Web Services Test Automation Guidance using VS 2010 - Unit Test & Web Test


Project suggests web services test automation guidance and provides reusable libraries using Unit Test/ Web Test in VS 2010. Key deliverable consists of reusable libraries for Unit Test and Custom Add-ins for Web Test that can be reused to reduce automation development effort.

simpletest - Unit testing, mock objects and web testing framework for PHP built around test cases.


Unit testing, mock objects and web testing framework for PHP built around test cases.

cmockery - A lightweight library to simplify and generalize the process of writing unit tests for C applications


Cmockery is a lightweight library that is used to author C unit tests.There are a variety of C unit testing frameworks available however many of them are fairly complex and require the latest compiler technology. Some development requires the use of old compilers which makes it difficult to use some unit testing frameworks. In addition many unit testing frameworks assume the code being tested is an application or module that is targeted to the same platform that will ultimately execute the test. Because of this assumption many frameworks require the inclusion of standard C library headers in the code module being tested which may collide with the custom or incomplete implementation of the C library utilized by the code under test.

tsUnit - TypeScript Unit Testing Framework


tsUnit is a unit testing framework for TypeScript, written in TypeScript. It allows you to encapsulate your test functions in classes and modules.

perl-Test-SimpleUnit - Test::SimpleUnit - simplified Perl unit-testing framework


Test::SimpleUnit - simplified Perl unit-testing framework

perl-Test-Extreme - Test::Extreme - a perlish unit testing framework


Test::Extreme - a perlish unit testing framework

elasticsearch-test - elasticsearch-test, a framework that makes elasticsearch unit testing a breeze.


elasticsearch-test, a framework that makes elasticsearch unit testing a breeze.

T4 Unit Test Constructor


T4 Unit Test Constructor is a Text Transform file that generates complete Unit Testing project based on siblings projects inside a solution.

perl-Test-Unit-Lite - Test::Unit::Lite - Unit testing without external dependencies


Test::Unit::Lite - Unit testing without external dependencies

Embedded Unit


Embedded Unit is unit testing framework for Embedded C System. Its design was copied from JUnit and CUnit and more, and then adapted somewhat for Embedded C System. Embedded Unit does not require std C libs. All objects are allocated to const area.

scope - Concise Ruby unit testing, in the spirit of Shoulda


Scope is a micro Ruby unit testing framework in the spirit of Shoulda and others. It gives you a tight syntax for writing terse, readable unit tests.You'll notice that variables created in setup_once blocks need to be class variables (e.g. @@youtube_api). This is because new instances of a testcase class are created every time a test is run. If you used simply instance variables, they would be lost when the next test is run.

dockertest - Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work


When developing applications, it is often necessary to use services that talk to a database system. Unit Testing these services can be cumbersome because mocking database/DBAL is strenuous. Making slight changes to the schema implies rewriting at least some, if not all of the mocks. The same goes for API changes in the DBAL. To avoid this, it is smarter to test these specific services against a real database that is destroyed after testing. Docker is the perfect system for running unit tests as you can spin up containers in a few seconds and kill them when the test completes. The Dockertest library provides easy to use commands for spinning up Docker containers and using them for your tests.Using Dockertest is straightforward and simple. Check the releases tab for available releases.

csUnit - unit testing for .NET


Inspired by JUnit, csUnit brings the power of unit testing to the .NET framework. csUnit is your key to unit testing and test-driven development using .NET languages such as C#, Visual Basic .NET, Visual J#, or Managed C++.