Skip to content
⌘K

Catch2

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).

health 78contrib 7722k

Overview & architecture

C++ standard
C++14
Build systems
cmake
License
BSL-1.0
Languages
C++
Last release
v3.16.1 · Oct 8, 2026

Repository activity

snapshot Nov 22, 2026
GitHub stars
latest
22k▲ 83
Merged PRs (30d)
latest
7▲ 7
Contributors (90d)
latest
7▲ 6
Issue first response p50
–
No snapshots yet.
390 open issues77 open PRs9 releases / year6 commits (30d)

Recent notable activity

  • Release
    Catch2 v3.16.1

    Fixes Fixed optimizations being disabled after including benchmarking headers under MSVC. (#3212) This was introduced in 3.16.0's fix for the deopt implementation for MSVC never being used. Fixed Console reporter replacing \0xFFs in user-provided strings. Added missing include to catch_generators_range.hpp. (#3205)…

    horenmarv3.16.1
  • Release
    Catch2 v3.16.0

    Fixes Multiple fixes in catch_discover_tests: Fixed _TESTS variable accumulating JSON fragments alongside test names. * This was introduced during the refactoring in last release. Fixed _TESTS variable from catch_discover_tests not escaping test names to be properly parsed by CMake. * This means that e.g. test names…

    horenmarv3.16.0
  • Release
    Catch2 v3.15.3

    Fixes The JSON reporter's number handling is locale-independent. (#3176) Removed leftover debug message from catch_discover_tests (#3177) Fixed typo in the "Could not jump to the Nth element" exception message (#3181) Improvements catch_discover_tests registers tests in deterministic (alphabetical) order.…

    horenmarv3.15.3
  • Release
    Catch2 v3.15.2

    Fixes Fixed --warn InfiniteGenerators triggering even if the generator was limited to specific element via path filtering. Fixed -Wunused-parameter triggering in -fnoexceptions builds. Improvements catch_discover_tests can handle cases where the binary prints out non-Catch2 output due to global constructors (#3162)

    horenmarv3.15.2
  • Release
    Catch2 v3.15.1

    Fixes Fixed potential OOB access when looking for start of broken UTF-8 sequence during linebreaking (#3096) Fixed TEMPLATE_LIST_TEST_CASE_METHOD and CATCH_TEMPLATE_PRODUCT_TEST_CASE potentially causing ODR violations (#3161)

    horenmarv3.15.1
  • Release
    Catch2 v3.15.0

    Fixes Fixed ambiguous overload issue with std::optional in C++26. (#3095) Since std::optional was turned into a range, the partial specialization of StringMaker for range-like types and for std::optional were in conflict. Improvements Simplified CATCH_REGISTER_ENUM internals for faster compilation and retrieval.…

    horenmarv3.15.0
  • Release
    Catch2 v3.14.0

    Fixes Added missing includes. (#3078) Fixed suppression of empty variadic macro arguments warning on Clang <19. (#3085) Fixed catch_discover_tests failing during PRE_TEST discovery if a target does not have discoverable tests. (#3075) Fixed build of the main library failing with CATCH_CONFIG_PREFIX_ALL defined.…

    horenmarv3.14.0
  • Release
    Catch2 v3.13.0

    Fixes --benchmark-samples 0 no longer hard crashes (#3056) The CLI validation fails instead. Fixed warning suppression macros being doubly defined when using Clang on Windows (#3060) Improvements Suppressed static analysis 26426 diagnostic for MSVC (#3057) Renamed the internal deprecation macro from DEPRECATED to…

    horenmarv3.13.0
  • Release
    Catch2 v3.12.0

    Fixes Fixed unscoped messages after a passing fast-pathed assertion being lost. Fixed the help string for --order to mention random order as the default. (#3045) Fixed small documentation typos. (#3039) Fixed compilation with CATCH_CONFIG_THREAD_SAFE_ASSERTIONS for older C++ standards. Fixed a thread-safety issue with…

    horenmarv3.12.0
  • Release
    Catch2 v3.11.0

    Fixes Fixed building on non-desktop GDK platforms (#3029) Fixed message macros being susceptible to race in specific scenario (#3031) Catch2's SEH filter will call the previously installed filter after reporting the error (#3033) Improvements Handling of scoped messages (e.g. CAPTURE) is a bit faster. Better…

    horenmarv3.11.0
  • Release
    Catch2 v3.10.0

    Fixes pkg-config files will take DESTDIR env var into account when selecting install destination (#3006, #3019) Changed filter to store the provided predicate by value (#3002, #3005) This is done to avoid dangling-by-default behaviour when filter is used inside GENERATE_COPY/GENERATE_REF. Improvements Escaping XML and…

    horenmarv3.10.0
  • Blog
    Catch2 v3 and Random Numbers

    Martin Hořeňovský joins Timur and Phil. Martin returns to talk about v3 of Catch2 and how it is different to v2. We also revisit the topic of random numbers and how Martin is still working on portable distributions and why that is important to testing and other domains.

    by Timur Doumler & Phil Nash · CppCast

Stories

ReleaseFor you

Catch2 v3.16.1 released

Fixes Fixed optimizations being disabled after including benchmarking headers under MSVC. (#3212) This was introduced in 3.16.0's fix for the deopt implementation for MSVC never being used. Fixed Console reporter replacing \0xFFs in user-provided strings. Added missing include to…

Why it matters: Catch2 is in Observability & Tools (one of your focus areas).

ReleaseFor you

Catch2 v3.16.0 released

Fixes Multiple fixes in catch_discover_tests: Fixed _TESTS variable accumulating JSON fragments alongside test names. * This was introduced during the refactoring in last release. Fixed _TESTS variable from catch_discover_tests not escaping test names to be properly parsed by CMake. * This means…

Why it matters: Catch2 is in Observability & Tools (one of your focus areas).

ReleaseFor you

Catch2 v3.15.3 released

Fixes The JSON reporter's number handling is locale-independent. (#3176) Removed leftover debug message from catch_discover_tests (#3177) Fixed typo in the "Could not jump to the Nth element" exception message (#3181) Improvements catch_discover_tests registers tests in deterministic…

Why it matters: Catch2 is in Observability & Tools (one of your focus areas).

ReleaseFor you

Catch2 v3.15.2 released

Fixes Fixed --warn InfiniteGenerators triggering even if the generator was limited to specific element via path filtering. Fixed -Wunused-parameter triggering in -fnoexceptions builds. Improvements catch_discover_tests can handle cases where the binary prints out non-Catch2 output due to global…

Why it matters: Catch2 is in Observability & Tools (one of your focus areas).

ReleaseFor you

Catch2 v3.15.1 released

Fixes Fixed potential OOB access when looking for start of broken UTF-8 sequence during linebreaking (#3096) Fixed TEMPLATE_LIST_TEST_CASE_METHOD and CATCH_TEMPLATE_PRODUCT_TEST_CASE potentially causing ODR violations (#3161)

Why it matters: Catch2 is in Observability & Tools (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

  • Catch2 v3.16.1

    Fixes Fixed optimizations being disabled after including benchmarking headers under MSVC. (#3212) This was introduced in 3.16.0's fix for the deopt implementation for MSVC never being used. Fixed Console reporter replacing \0xFFs in user-provided strings. Added missing include to catch_generators_range.hpp. (#3205)…

  • Catch2 v3.16.0major

    Fixes Multiple fixes in catch_discover_tests: Fixed _TESTS variable accumulating JSON fragments alongside test names. * This was introduced during the refactoring in last release. Fixed _TESTS variable from catch_discover_tests not escaping test names to be properly parsed by CMake. * This means that e.g. test names…

  • Catch2 v3.15.3

    Fixes The JSON reporter's number handling is locale-independent. (#3176) Removed leftover debug message from catch_discover_tests (#3177) Fixed typo in the "Could not jump to the Nth element" exception message (#3181) Improvements catch_discover_tests registers tests in deterministic (alphabetical) order.…

  • Catch2 v3.15.2

    Fixes Fixed --warn InfiniteGenerators triggering even if the generator was limited to specific element via path filtering. Fixed -Wunused-parameter triggering in -fnoexceptions builds. Improvements catch_discover_tests can handle cases where the binary prints out non-Catch2 output due to global constructors (#3162)

  • Catch2 v3.15.1

    Fixes Fixed potential OOB access when looking for start of broken UTF-8 sequence during linebreaking (#3096) Fixed TEMPLATE_LIST_TEST_CASE_METHOD and CATCH_TEMPLATE_PRODUCT_TEST_CASE potentially causing ODR violations (#3161)

  • Catch2 v3.15.0major

    Fixes Fixed ambiguous overload issue with std::optional in C++26. (#3095) Since std::optional was turned into a range, the partial specialization of StringMaker for range-like types and for std::optional were in conflict. Improvements Simplified CATCH_REGISTER_ENUM internals for faster compilation and retrieval.…

  • Catch2 v3.14.0major

    Fixes Added missing includes. (#3078) Fixed suppression of empty variadic macro arguments warning on Clang <19. (#3085) Fixed catch_discover_tests failing during PRE_TEST discovery if a target does not have discoverable tests. (#3075) Fixed build of the main library failing with CATCH_CONFIG_PREFIX_ALL defined.…

  • Catch2 v3.13.0major

    Fixes --benchmark-samples 0 no longer hard crashes (#3056) The CLI validation fails instead. Fixed warning suppression macros being doubly defined when using Clang on Windows (#3060) Improvements Suppressed static analysis 26426 diagnostic for MSVC (#3057) Renamed the internal deprecation macro from DEPRECATED to…

  • Catch2 v3.12.0major

    Fixes Fixed unscoped messages after a passing fast-pathed assertion being lost. Fixed the help string for --order to mention random order as the default. (#3045) Fixed small documentation typos. (#3039) Fixed compilation with CATCH_CONFIG_THREAD_SAFE_ASSERTIONS for older C++ standards. Fixed a thread-safety issue with…

  • Catch2 v3.11.0major

    Fixes Fixed building on non-desktop GDK platforms (#3029) Fixed message macros being susceptible to race in specific scenario (#3031) Catch2's SEH filter will call the previously installed filter after reporting the error (#3033) Improvements Handling of scoped messages (e.g. CAPTURE) is a bit faster. Better…

  • Catch2 v3.10.0major

    Fixes pkg-config files will take DESTDIR env var into account when selecting install destination (#3006, #3019) Changed filter to store the provided predicate by value (#3002, #3005) This is done to avoid dangling-by-default behaviour when filter is used inside GENERATE_COPY/GENERATE_REF. Improvements Escaping XML and…

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement. Contribution scanning is off for this project.

Why this score

Health 78Contribution friendliness 77computed 20h ago
  • Activity0.58
    7 merged PRs in 30 days (full marks at 20); 6 commits in 30 days (full marks at 60) [health score: no data for backlog pressure; weights renormalized]health
  • Onboarding0.50
    has mainstream build (CMake/Bazel/Meson), CI; missing contributing guide, docs site [contrib score: no data for entry points; weights renormalized]contrib
  • Maintainer responsiveness1.00
    median PR merge time 65 h (full marks within 72 h, zero after 60 days) [health score: no data for backlog pressure; weights renormalized] [contrib score: no data for entry points; weights renormalized]healthcontrib
  • Release cadence1.00
    last release 45 days ago (full marks within 90, zero after 730); 9 releases in 365 days (full marks at 4) [health score: no data for backlog pressure; weights renormalized]health
  • Contributor breadth0.63
    7 unique contributors in 90 days (full marks at 25); top contributor has 55% of commits; stars count for at most 5% of this signal [health score: no data for backlog pressure; weights renormalized]health

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.