Catch2

by catchorg · Developer Tools

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.

New0 ratings21,467 starsActive
Developer ToolsFrameworkC++CMake
Open project ↗↓ Download v3.16.0GitHub⚑ Report
Catch2 preview

About this project

What is Catch2? 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. Example unit test Example microbenchmark Note that benchmarks are not run by default, so you need to run it explicitly with the [!benchmark] tag. Catch2 v3 has been released! You are on the devel branch, where the v3 version is being developed. v3 brings a bunch of significant…

Technologies

PythonC++StarlarkCMakecppMesonbddcpp14

Project health

Actively maintained
Last update2 days ago
Contributors398
Latest releasev3.16.0
Open issues & PRs440
LicenseBSL-1.0
On GitHubsince 2010

GitHub

21,467
stars
3,510
forks
398
contributors
440
open issues & PRs
C++
language
2 days ago
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review Catch2.

Built by

catchorg
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain catchorg/Catch2? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like