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
Phil Nash 08844e7e57 build 1.3.0-develop.1
I've incremented the minor release number. This is a slight abuse of semantic versioning so let me explain:
I've slightly changed how matchers are used. The matcher macro (REQUIRE_THAT/ CHECK_THAT) used to introduce the Catch::Matchers namespace before the macro token for the matcher, to save you having import the namespace yourself.
The trouble is if the matcher token is not a simple matcher (can now be an expression) this breaks!
So I've removed that qualification. Now if you use Matchers you'll have to do somethings like using namespace Catch::Matchers to bring them in.
This is a breaking change - but, OTTOH, Matchers are an undocumented "beta' feature that I've stated in the past is not guaranteed to have a stable API - so I don't think this warrants a major version change - but I did want to make it significant enough that people do notice that something is going on - and perhaps lead them to this commit message.
2015-11-05 18:52:18 +00:00
docs Fixed some missing sentence structure 2015-10-19 09:16:16 +01:00
include build 1.3.0-develop.1 2015-11-05 18:52:18 +00:00
projects Added &&, || and ! operator overloads for matchers 2015-11-05 18:46:00 +00:00
scripts Removed unnecessary parentheses 2015-11-04 18:49:19 +00:00
single_include build 1.3.0-develop.1 2015-11-05 18:52:18 +00: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 Improve the Travis CI integration. 2015-10-06 12:28:18 +02:00
LICENSE_1_0.txt Fixed crlf issue 2013-11-07 13:05:29 +01:00
README.md build 1.3.0-develop.1 2015-11-05 18:52:18 +00:00
catch-logo-small.png Added logo to readme 2013-03-21 19:12:21 +00:00

README.md

catch logo

v1.3.0-develop.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