Go to file
Andy Sawyer d6f23a9a36 catch_tostring : moved defintion of rangeToString
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)
2013-09-21 18:45:42 +01:00
docs Merge pull request #180 from benjamg/patch-1 2013-07-03 00:15:44 -07:00
include catch_tostring : moved defintion of rangeToString 2013-09-21 18:45:42 +01:00
projects Fixes toString forward reference issue: 2013-09-14 19:58:45 +01:00
scripts Redacted test durations from JUnit reporter output in approval test script 2013-08-15 18:50:40 +01:00
single_include Add allocator support to StringMaker<vector> 2013-09-17 22:22:47 +01:00
.gitignore Fixed iTChRunner 2013-06-12 19:05:21 +01:00
catch-logo-small.png Added logo to readme 2013-03-21 19:12:21 +00:00
LICENSE_1_0.txt First commit for GitHub 2010-11-09 23:24:00 +00:00
README.md Fixes toString forward reference issue: 2013-09-14 19:58:45 +01:00

catch logo

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:

The documentation will continue until morale improves

More