Testing Tools - Unit - C/C++

C/C++ Unit Test Tools

1. C Unit Test System

CUT is a simple, to-the-point unit testing system. It's different from other unit test packages in that it follows the KISS principle. It's designed for C testing, not designed to emulate SUnit.
Requirement: OS Independent
Download data: Downloadable files: 8241 total downloads to date

2. Check

Check is a unit test framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate address space, so Check can catch both assertion failures and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs.
Requirement: POSIX
Download data: Downloadable files: 29326 total downloads to date

3. CppTest

CppTest is a portable and powerful, yet simple, unit testing framework for handling automated tests in C++. The focus lies on usability and extendability. Several output formats are supported and new ones are easily added.
Requirement: OS Independent
Download data: Downloadable files: 8940 total downloads to date

4. CppUnit

CppUnit is the C++ port of the famous JUnit framework for unit testing. Test output is in XML or text format for automatic testing and GUI based for supervised tests.
Requirement: BeOS, MacOS, Windows, OS Independent, Linux
Download data: Downloadable files: 485060 total downloads to date

5. CUnit

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.
Requirement: OS Independent (Written in an interpreted language)
Download data: Downloadable files: 66658 total downloads to date

6. CxxTest

CxxTest is a JUnit/CppUnit/xUnit-like framework for C++. Its advantages over existing alternatives are that it doesn't require RTTI, doesn't require member template functions, doesn't require exception handling, doesn't require any external libraries (including memory management, file/console I/O, graphics libraries) and is distributed entirely as a set of header files. This makes it extremely portable and usable.
Requirement: OS Independent (Written in an interpreted language)


7. Embedded Unit

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.
Requirement: OS Independent
Download data: Downloadable files: 7641 total downloads to date

8. RCUnit

RCUNIT stands for Robust C Unit. It is a small framework for testing C programs. Similar to other unit testing frameworks, RCUNIT is a framework used for creating repeatable tests.
Requirement: OS independent
Download data: Downloadable files: 703 total downloads to date

9. Test soon

"Test soon" is a testing framework trying to enable you to write tests quickly, organize them easily and still being flexible. Tests can be grouped automatically by file name and in nested groups.
Requirement: OS Independent
Download data: Downloadable files: 467 total downloads to date

10. UnitTest

UnitTest was developed on the principle of keeping things simple as possible.To that point, the source code testing framework was made to allow the developer to easily write white/grey-box unit test cases. To make life easier, I also created a utility that generates unit test class source code. The entire project is really tiny and is designed to build and run out of the box! You should be able to get going within 5 mins. I have also provided two sample projects for you to play with in the package.
Requirement: Windows

See More

Functional Test Tools – All free and Open-Source
Performance Test Tools – All free and Open-Source
Security Test Tools – All free and Open-Source
Unit Testing Tools – All free and Open-Source
Unit Test C/C++
Unit Test Java
Unit Test .Net
Unit Test PHP
Unit Test SQL


Related Topics

Guru’s Software Testing
Software Testing Tools – All free and Open-Source
Software Testing Techniques
Software Testing Techniques - II


Also Available

Server Virtualization – World’s Hottest Topic – A Good Research Work


If these topics really helped you or to make this topic more informative please give your suggestions/comments. Thanks