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
Konstantin Baumann d8a3ffedba enhanced support for nullptr
these fixes enhance the support for C++11 nullptr/std::nullptr_t; now
you can write something like this:
std::exception_ptr ex;
CATCH_REQUIRE(ex == nullptr);
and
std::unique_ptr<int> ptr;
CATCH_REQUIRE(ptr.get() == nullptr);

The issue with the const_cast<T&> is that you cannot cast a
std::nullptr_t to a non-const-ref.
2013-01-31 10:50:04 +01:00
include enhanced support for nullptr 2013-01-31 10:50:04 +01:00
projects Squashed commit of the following: 2012-11-13 21:59:50 +00:00
single_include Fix expression compile errors. 2012-11-16 10:47:33 +01:00
.gitignore Updated gitignore 2012-05-23 23:55:32 +01:00
glueHeaders.py Recreated the single include test project and got it working after impl refactorings 2012-08-09 07:47:30 +01:00
LICENSE_1_0.txt First commit for GitHub 2010-11-09 23:24:00 +00:00
README Update README with info about downloads 2012-12-14 07:55:47 +00:00

CATCH is an automated test framework for C, C++ and Objective-C.

The latest stable version can be found as a single header in the Downloads section.
(The Downloads section is now deprecated on GitHub. Until I move this somewhere else for CATCH it can still be reached here: https://github.com/philsquared/Catch/downloads)

For documentation see the wiki at: https://github.com/philsquared/Catch/wiki

Maintainers: Please now work off the Integration branch and target any pull requests there.