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ý 24af32f378 Add define that pulls in reporter and listeners interfaces
This allows users to define reporters and listeners in files different
from the main file.

Related to #991, #986
2017-08-17 20:23:30 +02:00
.github Added "How to test changes in PR" section to documentation 2017-06-26 16:54:14 +01:00
contrib Adding more flexibility into the cmake catch parsing script (#971) 2017-08-01 22:50:21 +02:00
docs Added Clara and TextFlowCpp to open source users 2017-08-17 10:48:53 +01:00
include Add define that pulls in reporter and listeners interfaces 2017-08-17 20:23:30 +02:00
projects Rebased with missing [failing] tag 2017-08-17 19:21:00 +01:00
scripts Do not include c++ stitch marking in final single header 2017-08-17 20:03:15 +02:00
single_include Generated single include for develop build 2017-08-17 08:29:57 +01:00
test_package Updated conan files to use version number 2017-08-17 08:40:58 +01: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 Disable build broken by travis changes 2017-07-29 08:44:40 +02:00
CMakeLists.txt Add define that pulls in reporter and listeners interfaces 2017-08-17 20:23:30 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-08-17 07:45:50 +01:00
LICENSE.txt Renamed licence file, license should now be detected by github 2017-03-20 08:59:25 +01:00
README.md Small doc updates 2017-08-17 08:28:45 +01: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
conanfile.py Updated conan files to use version number 2017-08-17 08:40:58 +01:00

README.md

catch logo

Github Releases Build Status Build status

The latest version of the single header 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 test framework for C++. which also supports Objective-C and, maybe, C. It is primarily distributed as a single header file, although certain extensions may require additional headers.

How to use it

This documentation comprises these three parts:

More