Skip to content
A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD - using C++11, C++14, C++17 and later (or C++03 on the Catch1.x branch)
C++ CMake Python Objective-C++ C Roff Other
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.conan Upload conan releases to catch2 remote (instead of Catch2) May 6, 2020
.github Add a FUNDING file Jun 7, 2019
CMake Fix typos identified by codespell. Apr 10, 2019
artwork Optimize in-repo PNGs Sep 6, 2019
contrib Change PARSE_CATCH_TESTS_ADD_FIXTURE_IN_TEST_NAME conditional. Mar 27, 2020
docs v2.12.2 May 25, 2020
examples Fix compilation of examples Jun 1, 2020
include Replace stray tabs with spaces Jun 1, 2020
misc Fix escaping of quotes in coverage helper Sep 21, 2019
projects Improved generator tracking Jun 1, 2020
scripts Move all scripts to Python3 Mar 19, 2020
single_include/catch2 v2.12.2 May 25, 2020
third_party fixing UB May 29, 2020
.gitattributes Update gitattributes Jul 23, 2018
.gitignore Create a BUILD file for compatibility with bazel May 17, 2020
.travis.yml Do not explicitly install conan Oct 2, 2019
BUILD.bazel Create a BUILD file for compatibility with bazel May 17, 2020
CMakeLists.txt v2.12.2 May 25, 2020
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Aug 17, 2017
LICENSE.txt Renamed licence file, license should now be detected by github Mar 20, 2017
README.md v2.12.2 May 25, 2020
WORKSPACE Create a BUILD file for compatibility with bazel May 17, 2020
appveyor.yml Use newer version of Python on AppVeyor Nov 13, 2019
codecov.yml Add SonarQube Generic Test Data reporter Oct 27, 2019
conanfile.py Provide path of the cmake scripts to conan Apr 23, 2020

README.md

catch logo

Github Releases Build Status Build status codecov Try online Join the chat in Discord: https://discord.gg/4CWS9zD

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:

More

You can’t perform that action at this time.