A unit test is a procedure used to verify that a particular module of source code is working properly. The idea about unit tests is to write test cases for all functions and methods so that whenever a change causes a regression, it can be quickly identified and fixed. Ideally, each test case is separate from all others. Unit testing is mostly done by the developers and not by end-users. The concept is part of the Extreme Programming method of software engineering. Various unit testing frameworks, based on a design by Kent Beck, have come to be known collectively as xUnit, and are available for many programming languages and development platforms. Unit testing is the building block to test driven development (TDD).
Related categories 1
An xUnit testing framework for C/C++, specialized for Windows (32/64 bit) and NT kernel mode development. [Open source, LGPL3]
A C++ unit testing framework. It started its life as a port of JUnit to C++ by Michael Feathers. [Open source, LGPL]
A C++ unit testing environment that makes easy to create and run tests of a library or application. [Open source]
A Java unit testing framework for testing Web based applications. It does not model the http protocol, but the returned document so that the user may deal with pages, forms and tables. [Open Source, ASL]
MinUnit -- a minimal unit testing framework for C
A brief write-up of a unit testing framework for C in four lines of code.
A unit testing framework for c++, originally based on CppUnit 1.5. All code has been refactored and ported to exclusively use Qt 3.x as it base library. This makes it portable to all platforms supported by Qt. [Open source, GPL]
A C unit testing framework especially designed for small microcontroller systems is presented with documentation, download and links. [Open source, CPL]