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
Tocic c0383a46f6 Update catch.hpp
add const ref to function parameters
2017-03-04 17:53:49 +02:00
.github First draft of issue and PR templates. 2017-01-28 11:42:11 +01:00
docs Updated release notes 2017-03-01 16:06:48 +00:00
include Refactored console reporter include logic to match Xml Reporter’s 2017-03-03 14:19:41 +00:00
projects Tweaked Xml Reporter to follow same success/ info behaviour as Console reporter 2017-03-03 14:12:47 +00:00
scripts Removed version # from readme 2017-03-03 15:40:32 +00:00
single_include Update catch.hpp 2017-03-04 17:53:49 +02: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 Improved .travis.yml 2017-02-07 11:56:34 +01:00
appveyor.yml Added appveyor.yml for CI with VS {2013, 2015} for {Win32, x64} 2017-02-14 09:37:37 +01: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 Fixed-up TAP reporter a bit. 2017-02-22 13:28:13 +01:00
LICENSE_1_0.txt Fixed crlf issue 2013-11-07 13:05:29 +01:00
README.md Removed version # from readme 2017-03-03 15:40:32 +00: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