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)
$ git clone https://github.com/catchorg/Catch2.git
stars
21,261
forks
3,352
language
C++
license
Boost Software License 1.0
What is catchorg/Catch2?
Catch2 is a C++ testing framework that enables unit testing, test-driven development (TDD), and behavior-driven development (BDD) with a clean, expressive syntax designed for modern C++ (C++14/C++17+). It requires no external dependencies and provides developers with an easy-to-use alternative to traditional testing frameworks, making it straightforward to write and organize test cases directly in C++ code. Developers choose Catch2 when they want a lightweight, self-contained testing solution that integrates naturally with contemporary C++ practices.
Links
Topics
Activity
439 open issues · last updated Jul 21, 2026