Projects / xTests


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.

Operating Systems

Recent releases

  •  12 Aug 2010 21:58

    Release Notes: This version adds function pointer testing, via XTESTS_TEST_FUNCTION_POINTER_EQUAL() and XTESTS_TEST_FUNCTION_POINTER_NOT_EQUAL(), and implicit-link support for VC++ 10. It also includes some minor fixes for improved 64-bit compatibility. It requires STLSoft v1.9.100, which is available from

    •  21 Jun 2010 13:44

      Release Notes: This version improves compatibility with non-VC++ compilers on Windows, and also includes minimal-import facilities, for leaner compilation.

      •  04 Apr 2010 07:41

        Release Notes: This version adds in-range testing, via XTESTS_TEST_INTEGER_EQUAL_ANY_IN_RANGE() and XTESTS_TEST_INTEGER_EQUAL_ANY_NOT_IN_RANGE(). XTESTS_ARRAY_END_POST was added. It also fixes up some issues with Visual C++ 6 compatibility for signed __int16, unsigned __int16, and signed __int1632. Note that this release requires STLSoft 1.9.97.

        •  20 Jan 2010 05:22

          Release Notes: This release includes a workaround for a spurious compilation error with Borland C/C++. It bundles shwild 0.9, and depends on STLSoft 1.9.89

          •  08 Jul 2009 11:46

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


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.