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
Sebastian Mach b2aca61894 fix missing operator== by using a member predicate instead
On at least one compiler (g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)), including catch.hpp yields multiple `no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = Catch::Ptr<Catch::CumulativeReporterBase::SectionNode>*, _Container = std::vector<Catch::Ptr<Catch::CumulativeReporterBase::SectionNode>, std::allocator<Catch::Ptr<Catch::CumulativeReporterBase::SectionNode> > >]() == __val’`. This commit fixes the issue by replacing the friend comparison operator with a functor.
2013-09-09 15:13:48 +02:00
docs Merge pull request #180 from benjamg/patch-1 2013-07-03 00:15:44 -07:00
include fix missing operator== by using a member predicate instead 2013-09-09 15:13:48 +02:00
projects Fixed string indexing bug 2013-09-07 12:07:38 +01:00
scripts Redacted test durations from JUnit reporter output in approval test script 2013-08-15 18:50:40 +01:00
single_include Fixed string indexing bug 2013-09-07 12:07:38 +01:00
.gitignore Fixed iTChRunner 2013-06-12 19:05:21 +01:00
catch-logo-small.png Added logo to readme 2013-03-21 19:12:21 +00:00
LICENSE_1_0.txt First commit for GitHub 2010-11-09 23:24:00 +00:00
README.md Fixed string indexing bug 2013-09-07 12:07:38 +01:00

catch logo

v1.0 build 9 (master branch)

New release with significant changes

Please see this page for details - including some breaking changes

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