1*2f083884Ss.makeev_localUnitTest++ 2*2f083884Ss.makeev_local=========== 3*2f083884Ss.makeev_local 4*2f083884Ss.makeev_localUnitTest++ is a lightweight unit testing framework for C++. It was designed to do test-driven development on a wide variety of platforms. Simplicity, portability, speed, and small footprint are all very important aspects of UnitTest++. UnitTest++ is ANSI portable C++ and makes minimal use of advanced library and languages features, which means it should be easily portable to just about any platform. Out of the box, the following platforms are supported: 5*2f083884Ss.makeev_local 6*2f083884Ss.makeev_local* Windows 7*2f083884Ss.makeev_local* Linux 8*2f083884Ss.makeev_local* Mac OS X 9*2f083884Ss.makeev_local 10*2f083884Ss.makeev_localDocumentation 11*2f083884Ss.makeev_local-------------- 12*2f083884Ss.makeev_localThe full documentation for building and using UnitTest++ can be found on the [GitHub wiki page](https://github.com/unittest-cpp/unittest-cpp/wiki). The contents of this wiki are also included as a git submodule under the `docs` folder, so version-specific Markdown documentation is always available along with the download. 13*2f083884Ss.makeev_local 14*2f083884Ss.makeev_localPre-requisites 15*2f083884Ss.makeev_local--------------- 16*2f083884Ss.makeev_localWhile there are currently some bundled makefiles and projects, UnitTest++ is primarily built and supported using [CMake](http://cmake.org). 17*2f083884Ss.makeev_local 18*2f083884Ss.makeev_localDownloading 19*2f083884Ss.makeev_local------------ 20*2f083884Ss.makeev_local### Latest (HEAD) ### 21*2f083884Ss.makeev_local 22*2f083884Ss.makeev_localVia git: 23*2f083884Ss.makeev_local 24*2f083884Ss.makeev_local git clone https://github.com/unittest-cpp/unittest-cpp 25*2f083884Ss.makeev_local 26*2f083884Ss.makeev_localVia svn: 27*2f083884Ss.makeev_local 28*2f083884Ss.makeev_local svn checkout https://github.com/unittest-cpp/unittest-cpp/trunk unittest-cpp 29*2f083884Ss.makeev_local 30*2f083884Ss.makeev_local### Latest release (v1.4) ### 31*2f083884Ss.makeev_local 32*2f083884Ss.makeev_localVia git: 33*2f083884Ss.makeev_local 34*2f083884Ss.makeev_local git clone https://github.com/unittest-cpp/unittest-cpp 35*2f083884Ss.makeev_local cd unittest-cpp 36*2f083884Ss.makeev_local git checkout v1.4 37*2f083884Ss.makeev_local 38*2f083884Ss.makeev_localVia svn: 39*2f083884Ss.makeev_local 40*2f083884Ss.makeev_local svn checkout https://github.com/unittest-cpp/unittest-cpp/tags/v1.4 unittest-cpp 41*2f083884Ss.makeev_local 42*2f083884Ss.makeev_localLicense 43*2f083884Ss.makeev_local--------- 44*2f083884Ss.makeev_local*UnitTest++ is free software. You may copy, distribute, and modify it under 45*2f083884Ss.makeev_localthe terms of the License contained in the file LICENSE distributed 46*2f083884Ss.makeev_localwith this package. This license is the same as the MIT/X Consortium 47*2f083884Ss.makeev_locallicense.* 48*2f083884Ss.makeev_local 49*2f083884Ss.makeev_localContributors 50*2f083884Ss.makeev_local-------------- 51*2f083884Ss.makeev_local### [GitHub Contributor Graph](https://github.com/unittest-cpp/unittest-cpp/contributors) ### 52*2f083884Ss.makeev_local 53*2f083884Ss.makeev_local### Current Maintainers: ### 54*2f083884Ss.makeev_local* Patrick Johnmeyer ([email protected]) @pjohnmeyer 55*2f083884Ss.makeev_local* Charles Nicholson ([email protected]) @charlesnicholson 56*2f083884Ss.makeev_local 57*2f083884Ss.makeev_local### Original Authors: ### 58*2f083884Ss.makeev_local* Noel Llopis ([email protected]) 59*2f083884Ss.makeev_local* Charles Nicholson ([email protected]) 60*2f083884Ss.makeev_local 61*2f083884Ss.makeev_local### Contributors not included in github history ### 62*2f083884Ss.makeev_local* Jim Tilander 63*2f083884Ss.makeev_local* Kim Grasman 64*2f083884Ss.makeev_local* Jonathan Jansson 65*2f083884Ss.makeev_local* Dirck Blaskey 66*2f083884Ss.makeev_local* Rory Driscoll 67*2f083884Ss.makeev_local* Dan Lind 68*2f083884Ss.makeev_local* Matt Kimmel -- Submitted with permission from Blue Fang Games 69*2f083884Ss.makeev_local* Anthony Moralez 70*2f083884Ss.makeev_local* Jeff Dixon 71*2f083884Ss.makeev_local* Randy Coulman 72*2f083884Ss.makeev_local* Lieven van der Heide 73*2f083884Ss.makeev_local 74*2f083884Ss.makeev_localHistoric release notes 75*2f083884Ss.makeev_local---------------------- 76*2f083884Ss.makeev_local 77*2f083884Ss.makeev_local### Version 1.4 (2008-10-30) ### 78*2f083884Ss.makeev_local- CHECK macros work at arbitrary stack depth from inside TESTs. 79*2f083884Ss.makeev_local- Remove obsolete TEST_UTILITY macros 80*2f083884Ss.makeev_local- Predicated test execution (via TestRunner::RunTestsIf) 81*2f083884Ss.makeev_local- Better exception handling for fixture ctors/dtors. 82*2f083884Ss.makeev_local- VC6/7/8/9 support 83*2f083884Ss.makeev_local 84*2f083884Ss.makeev_local### Version 1.3 (2007-4-22) ### 85*2f083884Ss.makeev_local- Removed dynamic memory allocations (other than streams) 86*2f083884Ss.makeev_local- MinGW support 87*2f083884Ss.makeev_local- Consistent (native) line endings 88*2f083884Ss.makeev_local- Minor bug fixing 89*2f083884Ss.makeev_local 90*2f083884Ss.makeev_local### Version 1.2 (2006-10-29) ### 91*2f083884Ss.makeev_local- First pass at documentation. 92*2f083884Ss.makeev_local- More detailed error crash catching in fixtures. 93*2f083884Ss.makeev_local- Standard streams used for printing objects under check. This should allow the 94*2f083884Ss.makeev_local use of standard class types such as std::string or other custom classes with 95*2f083884Ss.makeev_local stream operators to ostream. 96*2f083884Ss.makeev_local- Standard streams can be optionally compiled off by defining UNITTEST_USE_CUSTOM_STREAMS 97*2f083884Ss.makeev_local in Config.h 98*2f083884Ss.makeev_local- Added named test suites 99*2f083884Ss.makeev_local- Added CHECK_ARRAY2D_CLOSE 100*2f083884Ss.makeev_local- Posix library name is libUnitTest++.a now 101*2f083884Ss.makeev_local- Floating point numbers are postfixed with 'f' in the failure reports 102*2f083884Ss.makeev_local 103*2f083884Ss.makeev_local### Version 1.1 (2006-04-18) ### 104*2f083884Ss.makeev_local- CHECK macros do not have side effects even if one of the parameters changes state 105*2f083884Ss.makeev_local- Removed CHECK_ARRAY_EQUAL (too similar to CHECK_ARRAY_CLOSE) 106*2f083884Ss.makeev_local- Added local and global time constraints 107*2f083884Ss.makeev_local- Removed dependencies on strstream 108*2f083884Ss.makeev_local- Improved Posix signal to exception translator 109*2f083884Ss.makeev_local- Failing tests are added to Visual Studio's error list 110*2f083884Ss.makeev_local- Fixed Visual Studio projects to work with spaces in directories 111*2f083884Ss.makeev_local 112*2f083884Ss.makeev_local### Version 1.0 (2006-03-15) ### 113*2f083884Ss.makeev_local- Initial release 114*2f083884Ss.makeev_local 115