CMD + K

catch2

Community

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)

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::catch2

Usage Tracking

3.12.0
3.10.0
3.9.1
3.9.0
3.8.1
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

Catch2 is mainly a unit testing framework for C++, but it also provides basic micro-benchmarking features, and simple BDD macros.

Catch2's main advantage is that using it is both simple and natural. Test names do not have to be valid identifiers, assertions look like normal C++ boolean expressions, and sections provide a nice and local way to share set-up and tear-down code in tests.

About

Summary

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)

Last Updated

Jan 11, 2026 at 06:10

License

BSL-1.0

Total Downloads

487.5K

Supported Platforms

macOS-arm64
macOS-64
win-64
linux-aarch64
linux-ppc64le
linux-64