mirror of https://github.com/catchorg/Catch2.git
![]() Detail::rangeToString is now defined after the various toString overloads. This results in them being accessible with rangeToString is instantiated (in this case, by StringMaker<vector>). This (sort-of) fixes the problem where contained types are toString'd incorrectly. Consider: std::vector<std::string> v { "abc" }; Before: Catch::toString( v ) == "{ abc }" After: Catch::toString( v ) == "{ "abc" }" (note the extra pair of quotes around the "abc" - these are added by Catch::toString( std::string ) which is now called by rangeToString) |
||
---|---|---|
docs | ||
include | ||
projects | ||
scripts | ||
single_include | ||
.gitignore | ||
LICENSE_1_0.txt | ||
README.md | ||
catch-logo-small.png |
README.md
v1.0 build 10 (master branch)
New release with significant changes
Please see this page for details - including some breaking changes
What's the Catch?
Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.
How to use it
This documentation comprises these three parts:
- Why do we need yet another C++ Test Framework?
- Tutorial - getting started
- Reference section - all the details
The documentation will continue until morale improves
More
- Issues and bugs can be raised on the Issue tracker on GitHub
- For discussion or questions please use the dedicated Google Groups forum