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ý 0ca4cfb743 Introduce compile time toggle to remove Matchers from TU
The toggle is `CATCH_CONFIG_DISABLE_MATCHERS` and the only use is
to speed up compilation of small TUs. For large ones it is likely
insignificant, because the speed up is constant relative to
number of tests/assertions in TU.
2017-07-28 21:34:34 +02:00
.github Added "How to test changes in PR" section to documentation 2017-06-26 16:54:14 +01:00
contrib Cosmetic fixes (whitespace and spelling) 2017-05-27 14:42:54 +02:00
docs Introduce compile time toggle to remove Matchers from TU 2017-07-28 21:34:34 +02:00
include Introduce compile time toggle to remove Matchers from TU 2017-07-28 21:34:34 +02:00
projects Removed <algorithm> include from the main path 2017-07-28 15:11:05 +02:00
scripts Improve single header generator 2017-07-27 11:32:05 +02:00
third_party Embed Clara with TextFlow fix for whitespace after newline 2017-07-20 20:07:28 +01:00
.gitattributes Git Attributes, with control for line-endings 2013-10-18 07:53:05 +01:00
.gitignore Ignore .vs folder 2017-02-21 08:52:08 +00:00
.travis.yml Removed gcc 4.7 from travis 2017-04-25 21:27:29 +02:00
appveyor.yml Merge branch 'master' into dev-modernize 2017-06-05 17:19:42 +02:00
catch-hand-icon.png Updated artwork 2017-03-01 16:47:04 +00:00
catch-icon-tiny.png Updated artwork 2017-03-01 16:47:04 +00:00
catch-logo-small.png Resized main logo again 2017-03-01 17:00:33 +00:00
CMakeLists.txt Split Option<T> and TagAlias definitions away from the main include path 2017-07-27 11:55:30 +02:00
LICENSE.txt Renamed licence file, license should now be detected by github 2017-03-20 08:59:25 +01:00
README.md v1.9.4 2017-05-16 13:59:29 +02:00

catch logo

Github Releases Build Status 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