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
David Grayson c8b4c922a5 GCC 5.2 only has nullptr if running in C++11 mode (or greater). Every
GCC since 4.7 has a __cplusplus macro we can check to see what version
of the C++ standard is being used.

This change preserves the logic that was used for GCC 4, but for GCC
versions greater than 4, we will assume it has nullptr if and only if
the __cplusplus macro is large enough.

This allows catch to work on GCC 5.2 when it is not running in C++11
mode.
2015-07-24 13:48:58 -07:00
docs Changed --filenames-as-tags prefix to #, added -# as short form and updated docs 2015-07-06 18:46:50 +01:00
include GCC 5.2 only has nullptr if running in C++11 mode (or greater). Every 2015-07-24 13:48:58 -07:00
projects Qualified path to xmlwriter to fix travis error 2015-07-24 08:13:07 +01:00
scripts Updated approvalTests script to allow for modified version strings 2015-07-10 08:08:37 +01:00
single_include dev build 10 2015-07-24 08:13:52 +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 more approval tests script debugging 2013-08-05 13:29:42 +02: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 dev build 10 2015-07-24 08:13:52 +01:00

catch logo

v1.2.1-develop.10

Build status (on Travis CI) Build Status

Please see this page if you are updating from a version before 1.0

[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:

The documentation will continue until morale improves

More