Ross ROSS = Recommend OSS · open-source software intelligence for agents

catchorg/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) observed · 2026-08-28

github.com/catchorg/Catch2 · homepage · C++ · BSL-1.0 (other) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 87
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 35.5
  • age_days: 5777
  • days_rel: 8
  • days_push: 8
  • n_releases_24m: 15

Full methodology

Adoption not part of the score

21444 stars · 3502 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Catch2 is a modern, C++-native unit testing framework supporting TDD and BDD styles, with no external dependencies. It also provides basic micro-benchmarking features and simple BDD macros, with natural assertion syntax and section-based test setup.

Use cases

  • write unit tests for C++ code
  • do test-driven development in C++
  • write BDD-style tests in C++
  • microbenchmark C++ functions
  • test C++ code without external dependencies
  • share setup and teardown code between test sections

When to choose

  • you need a C++ testing framework with no dependencies
  • you want natural, expression-based assertions
  • you want TDD or BDD workflows in C++
  • you need lightweight micro-benchmarking alongside tests

When to avoid

  • you need Google Test compatibility or gtest ecosystem tooling
  • you need advanced mocking (use a dedicated mocking library)
  • you require C++03 support (only in the old Catch1.x branch)

Facets

framework · maturity stable

testing benchmarking testing developer-tools cpp cross-platform windows unit-testing tdd bdd test-framework header-only no-dependencies cpp14 cpp17 linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
catchorg/Catch2main95

For agents

markdown · JSON · MCP: product_card(name="catchorg/Catch2")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem