Catch2 testing framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
George Rhoten bad3c93049 Fix for macOS on ARM 2 days ago
.conan Upload conan releases to catch2 remote (instead of Catch2) 1 month ago
.github Add a FUNDING file 1 year ago
CMake Fix typos identified by codespell. 1 year ago
artwork Optimize in-repo PNGs 10 months ago
contrib Change PARSE_CATCH_TESTS_ADD_FIXTURE_IN_TEST_NAME conditional. 3 months ago
docs v2.12.3 4 days ago
examples Replace a TODO comment in examples 1 week ago
include Fix for macOS on ARM 2 days ago
misc Fix escaping of quotes in coverage helper 9 months ago
projects Add OverallResultsCases element to XML reporter 5 days ago
scripts Make scripts/ executable. 2 weeks ago
single_include/catch2 v2.12.3 4 days ago
third_party fixing UB 1 month ago
.clang-format Clang-format configuration added. 2 weeks ago
.gitattributes Update gitattributes 1 year ago
.gitignore Create a BUILD file for compatibility with bazel 1 month ago
.travis.yml Do not explicitly install conan 9 months ago
BUILD.bazel Create a BUILD file for compatibility with bazel 1 month ago
CMakeLists.txt v2.12.3 4 days ago Create 2 years ago
LICENSE.txt Renamed licence file, license should now be detected by github 3 years ago v2.12.3 4 days ago
WORKSPACE Create a BUILD file for compatibility with bazel 1 month ago
appveyor.yml Use newer version of Python on AppVeyor 7 months ago
codecov.yml Add SonarQube Generic Test Data reporter 8 months ago Provide path of the cmake scripts to conan 2 months ago

catch logo

Github Releases Build Status Build status codecov Try online

The latest version of the single header can be downloaded directly using this link

Catch2 is released!

If you've been using an earlier version of Catch, please see the Breaking Changes section of the release notes before moving to Catch2. You might also like to read this blog post for more details.

What's the Catch?

Catch2 is a multi-paradigm test framework for C++. which also supports Objective-C (and maybe C). It is primarily distributed as a single header file, although certain extensions may require additional headers.

How to use it

This documentation comprises these three parts: