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).

Subcategories 3

Related categories 1

Cfix
An xUnit testing framework for C/C++, specialized for Windows (32/64 bit) and NT kernel mode development. [Open source, LGPL3]
CppUnit
A C++ unit testing framework. It started its life as a port of JUnit to C++ by Michael Feathers. [Open source, LGPL]
Cutee
A C++ unit testing environment that makes easy to create and run tests of a library or application. [Open source]
HtmlUnit
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.
QtUnit
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]
TestApe
A mock and test framework for embedded software written in C is presented with documentation and downloads.
UCUnit
A C unit testing framework especially designed for small microcontroller systems is presented with documentation, download and links. [Open source, CPL]
xmlMessageTest
A unit testing tool for XML-based message servers that allows to test without writing code. [Shareware]
[Rogue Mozilla]
Last update:
May 12, 2014 at 12:47:52 UTC
Computers
Games
Health
Home
News
Recreation
Reference
Regional
Science
Shopping
Society
Sports
All Languages
Arts
Business