Bug: 112202352

Clone this repo:
  1. d9929ee Add default code reviewers into OWNERS by Chih-Hung Hsieh · 6 weeks ago master
  2. d1d69de android: Add libcatch2-upstream target am: 810b037e9a am: dadc5e0392 by Igor Murashkin · 6 months ago android-wear-8.0.0_r2
  3. 925319e android: Add build rules for static library and self-test am: 4144428ae5 by Igor Murashkin · 6 months ago
  4. 4d02108 add no-rtti and no-exception support to catch2 am: 1db121df44 am: 9b997bcd04 by Igor Murashkin · 6 months ago
  5. d6bc87c catch_matchers: Fix compilation error with -Wnon-virtual-dtor am: e78d4067f0 by Igor Murashkin · 6 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 stands for C++ Automated Test Cases in a Header and 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: