About Anaconda Help Download Anaconda

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)

copied from cf-post-staging / catch2

Installers

Info: This package contains files in non-standard labels.
  • linux-64 v3.12.0
  • linux-ppc64le v3.12.0
  • linux-aarch64 v3.12.0
  • win-64 v3.12.0
  • osx-arm64 v3.12.0
  • osx-64 v3.12.0

conda install

To install this package run one of the following:
conda install conda-forge::catch2
conda install conda-forge/label/broken::catch2
conda install conda-forge/label/cf202003::catch2

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.


© 2026 Anaconda, Inc. All Rights Reserved. (v4.2.13) Legal | Privacy Policy