Yuri D'Elia ae17cef676 Update Catch2 v3.1.1 | 2 jaren geleden | |
---|---|---|
.. | ||
.conan | 2 jaren geleden | |
.github | 2 jaren geleden | |
CMake | 2 jaren geleden | |
data | 2 jaren geleden | |
docs | 2 jaren geleden | |
examples | 2 jaren geleden | |
extras | 2 jaren geleden | |
fuzzing | 2 jaren geleden | |
src | 2 jaren geleden | |
tests | 2 jaren geleden | |
third_party | 2 jaren geleden | |
tools | 2 jaren geleden | |
.bazelrc | 2 jaren geleden | |
.clang-format | 2 jaren geleden | |
.gitattributes | 2 jaren geleden | |
.gitignore | 2 jaren geleden | |
.gitrepo | 2 jaren geleden | |
BUILD.bazel | 2 jaren geleden | |
CMakeLists.txt | 2 jaren geleden | |
CMakePresets.json | 2 jaren geleden | |
CODE_OF_CONDUCT.md | 2 jaren geleden | |
Doxyfile | 2 jaren geleden | |
LICENSE.txt | 2 jaren geleden | |
README.md | 2 jaren geleden | |
SECURITY.md | 2 jaren geleden | |
WORKSPACE.bazel | 2 jaren geleden | |
appveyor.yml | 2 jaren geleden | |
codecov.yml | 2 jaren geleden | |
conanfile.py | 2 jaren geleden | |
mdsnippets.json | 2 jaren geleden | |
meson.build | 2 jaren geleden |
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. Tests autoregister themselves and do not have to be named with valid identifiers, assertions look like normal C++ code, and sections provide a nice way to share set-up and tear-down code in tests.
You are on the devel
branch, where the next major version, v3, of
Catch2 is being developed. As it is a significant rework, you will
find that parts of this documentation are likely still stuck on v2.
For stable (and documentation-matching) version of Catch2, go to the
v2.x
branch.
For migrating from the v2 releases to v3, you should look at our documentation. It provides a simple guidelines on getting started, and collects most common migration problems.
This documentation comprises these three parts: