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
Martin Hořeňovský 925f5bdce6 Added signal handling under Windows.
Only some "signals" are handled under Windows, because Windows does not
use signals per-se and the mechanics are different. For now, we handle
sigsegv, stack overflow, div-by-zero and sigill. We can also
meaningfully
add various floating point errors, but not sigterm and family, because
sigterm is not a structured exception under Windows.

There is also no catch-all, because that would also catch various
debugger-related exceptions, like EXCEPTION_BREAKPOINT.
2016-12-16 15:00:19 +01:00
docs Update tutorial.md 2016-04-04 23:04:45 -03:00
include Added signal handling under Windows. 2016-12-16 15:00:19 +01:00
projects Added some missing source files (including all SurrogateCpps) to CMake project. 2016-11-09 22:55:32 +00:00
scripts Removed unnecessary parentheses 2015-11-04 18:49:19 +00:00
single_include Build 1.5.8 2016-10-26 12:08:26 +01:00
.gitattributes Git Attributes, with control for line-endings 2013-10-18 07:53:05 +01:00
.gitignore Ignore *.xccheckout 2015-03-27 17:55:13 +00:00
.travis.yml Merge pull request #716 from jbcoe/master 2016-10-04 15:57:10 +01:00
catch-logo-small.png Added logo to readme 2013-03-21 19:12:21 +00:00
LICENSE_1_0.txt Fixed crlf issue 2013-11-07 13:05:29 +01:00
README.md Build 1.5.8 2016-10-26 12:08:26 +01:00

catch logo

v1.5.8

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