• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
Catch Org avatar

Catch2

C++ unit testing framework with BDD macros and micro-benchmarks

  • Developer tools
  • Languages and frameworks
View on GitHub
Website

What it is

Catch2 is a testing framework for C++14 and later, where test names are free-form strings and assertions are written as ordinary boolean expressions. Sections let tests share setup and teardown code locally, and it also offers simple BDD-style macros and opt-in micro-benchmarking. C++ developers add it to their projects to write unit tests and practice test-driven development without extra dependencies.

Images

Facts

Stars
21,537 GitHub stars.
21,537

Forks
3,490
Commits
4,831
Contributors
400
Language
C++
License
BSL-1.0
Last commit
Oct 8, 2026
On GitHub since
November 2010
First release
June 2015
Platforms
library
Self-hostable
No
Tags
  • utility-library
  • benchmarking
  • testing

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • pytest-dev avatar

    pytest

    Python testing framework built around plain assert statements

    14.6k
  • Google avatar

    GoogleTest

    C++ unit testing and mocking framework from Google

    39.7k

What people are saying

Updated Oct 20, 2026
  • Hacker NewsCatch2 – C++-native, header-only, test framework for unit-tests, TDD and BDDMay 24, 2020 · 2 points · 0 comments (opens Hacker News in a new tab)