xTests is a small, simple, lightweight, portable unit/component testing library for exercising C and C++ libraries. It relies on no platform-specific or compiler-specific constructs and doesn't require pre-processing of your source code by scripting languages or use macros to create secret classes that use Schwarz counters to register test cases. It relies on you to simply code what you want, and nothing that you don't want.
| Tags | Software Development Quality Assurance |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | OS Independent |
| Implementation | C++ C |
Recent releases


Changes: This release adds a workaround for an Intel C/C++ compiler defect.


Changes: This version adds the XTESTS_REQUIRE() macro, which can be used to stop a test case at the first failing test, thereby avoiding possible contract violations in subsequent test statements.


Changes: This release (which involves only header changes to xtests/xtests.h) adds the XTESTS_FLOATINGPOINT_FACTOR_SCOPE scoping class, and three new macros: XTESTS_TEST_FLOATINGPOINT_NOT_EQUAL_EXACT, XTESTS_TEST_FLOATINGPOINT_NOT_EQUAL_APPROX, and XTESTS_TEST_FLOATINGPOINT_NOT_EQUAL.


Changes: This release fixes a defect in the defintion of XTESTS_START_RUNNER_WITH_REPORTER_AND_STREAM_AND_FLAGS_AND_SETUP_FNS(), adds implicit link support for Intel C/C++ 10 & 11, and now allows a stream to be NULL (assuming stdout if no custom reporter is specified). It depends on STLSoft 1.9.77.


Changes: This release fixes a defect in the internal snprintf() abstraction which caused faults on some versions of Linux.