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ý 9bab7c8229 Changed console reporter test duration reporting format
Was
"<section-name> completed in XXX s."
Now is
"XXX s: <section-name>"

Closes #322

(cherry picked from commit 0805539)
2017-02-22 08:35:53 +00:00
.github First draft of issue and PR templates. 2017-01-28 11:42:11 +01:00
docs Updated docs to reflect the change to leak checking 2017-02-18 17:24:31 +01:00
include Changed console reporter test duration reporting format 2017-02-22 08:35:53 +00:00
projects Added first vector matchers (Contains and Equals) 2017-02-21 16:05:04 +00:00
scripts Single include generator now handles spaces between # and include 2017-02-22 08:05:31 +00:00
single_include v1.7.2 build 2017-02-13 16:15:42 +00: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
CMakeLists.txt Added first vector matchers (Contains and Equals) 2017-02-21 16:05:04 +00:00
LICENSE_1_0.txt Fixed crlf issue 2013-11-07 13:05:29 +01:00
README.md v1.7.2 build 2017-02-13 16:15:42 +00:00
appveyor.yml Added appveyor.yml for CI with VS {2013, 2015} for {Win32, x64} 2017-02-14 09:37:37 +01:00
catch-logo-small.png Added logo to readme 2013-03-21 19:12:21 +00:00
catch-logo-tiny.png Added single char version of logo 2017-01-13 18:49:49 +00:00

README.md

catch logo

v1.7.2

Build status (on Travis CI) 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