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
Kevin Ushey 0394905325 restrict nullptr detection to gcc 4 (closes #526)
The old detection logic here assumed that all versions of gcc >= 5 would
provide nullptr and `std::nullptr_t`; this is only true in gcc >= 5 when
the standard is explicitly set (e.g. `std=c++11`), and other detection
logic handles that.

This change allows Catch-using programs to compile with gcc >= 5, when
using the default (C++98) standard.
2015-10-27 13:48:02 -07:00
docs Added compiler feature suppression macros 2015-06-30 08:41:55 +01:00
include restrict nullptr detection to gcc 4 (closes #526) 2015-10-27 13:48:02 -07:00
projects Use <= operator instead of ->* for decomposer 2015-06-26 06:46:37 +01:00
scripts Fixed approval tests script for new version number formatting 2015-06-30 18:24:59 +01:00
single_include build for v1.2.1 2015-06-30 18:26:09 +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 build for v1.2.1 2015-06-30 18:26:09 +01:00

catch logo

v1.2.1

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