Catch2

用于单元测试、TDD 和 BDD 的现代 C++ 本机测试框架,使用 C++14、C++17 及更高版本(C++11 支持在 v2.x 分支中,C++03 支持在 Catch1.x 分支中)。「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)」

Github stars Tracking Chart


catch logo

Github Releases
Build Status
Build status
codecov
Try online
Join the chat in Discord: https://discord.gg/4CWS9zD

The latest version of the single header can be downloaded directly using this link

Catch2 is released!

If you've been using an earlier version of Catch, please see the
Breaking Changes section of the release notes
before moving to Catch2. You might also like to read this blog post for more details.

What's the Catch?

Catch2 is a multi-paradigm test framework for C++. which also supports
Objective-C (and maybe C).
It is primarily distributed as a single header file, although certain
extensions may require additional headers.

How to use it

This documentation comprises these three parts:

More

Overview

Name With Ownercatchorg/Catch2
Primary LanguageC++
Program languageC++ (Language Count: 8)
Platform
License:Boost Software License 1.0
Release Count131
Last Release Namev3.6.0 (Posted on 2024-05-05 21:05:08)
First Release Namev1.2.0 (Posted on 2015-06-29 18:07:48)
Created At2010-11-08 18:22:56
Pushed At2024-05-14 00:59:09
Last Commit At
Stargazers Count18.1k
Watchers Count445
Fork Count3k
Commits Count4.5k
Has Issues Enabled
Issues Count1860
Issue Open Count375
Pull Requests Count630
Pull Requests Open Count31
Pull Requests Close Count335
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top