A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
Go to file
Phil Nash 873ef276b6 XML Reporter closes tag and flushes stream at end of TestCase and Section tags.
This fixes an issue where XML reports on stdout are broken by printf statements
2017-02-13 15:56:25 +00:00
.github First draft of issue and PR templates. 2017-01-28 11:42:11 +01:00
docs Fixed editing mishap in documentation. 2017-02-12 15:48:32 +01:00
include XML Reporter closes tag and flushes stream at end of TestCase and Section tags. 2017-02-13 15:56:25 +00:00
projects XML Reporter closes tag and flushes stream at end of TestCase and Section tags. 2017-02-13 15:56:25 +00:00
scripts Scripts intended to be run should now have x bit set. 2017-02-01 21:34:45 +01:00
single_include v1.7.1 build 2017-02-07 10:06:52 +01:00
.gitattributes Git Attributes, with control for line-endings 2013-10-18 07:53:05 +01:00
.gitignore Removed all manually maintained project files in favour of instructions on how to use CMake to generate them 2017-01-09 17:38:42 +00:00
.travis.yml Improved .travis.yml 2017-02-07 11:56:34 +01:00
catch-logo-small.png Added logo to readme 2013-03-21 19:12:21 +00:00
catch-logo-tiny.png Added single char version of logo 2017-01-13 18:49:49 +00:00
CMakeLists.txt REQUIRE_THROWS_AS now catches exception by const& 2017-02-09 12:57:01 +01:00
LICENSE_1_0.txt Fixed crlf issue 2013-11-07 13:05:29 +01:00
README.md Added links to open source users page from general pages 2017-02-10 22:50:40 +00:00

catch logo

v1.7.1

Build status (on Travis CI) Build Status

The latest, single header, version can be downloaded directly using this link

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:

More