catch2/3.1.0

[full]

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.

Catch2 logo

Github Releases Linux build status Linux build status MacOS build status Build Status Code Coverage Try online Join the chat in Discord: https://discord.gg/4CWS9zD

What's the 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. 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.

Catch2 v3 is being developed!

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.

... More
version 3.1.0
license BSL-1.0
repository https://pkg.cppget.org/1/stable
download catch2-3.1.0.tar.gz
sha256 68e11bc613418089e1cbe78366ea612c9faacfd4630d663aa5ba350ecfeca734
project catch2
url github.com/catchorg/Catch2

Requires (1)

c++14

Tests

catch2-tests == 3.1.0

Examples

catch2-examples == 3.1.0

Builds

toolchain public-0.15.0
config windows_10-clang_14.0_llvm_msvc_17.2-static_O2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-18 20:37:30 UTC (01:27:18 hours ago)
result success | log | rebuild
toolchain public-0.15.0
config windows_10-msvc_17.2-static_O2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-18 20:32:17 UTC (01:32:31 hours ago)
result success | log | rebuild
toolchain public-0.15.0
config macos_12-gcc_12.1_homebrew-static_O3 / x86_64-apple-darwin21.6.0
timestamp 2022-08-18 13:50:41 UTC (08:14:08 hours ago)
result warning (update) | warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config macos_12-gcc_12.1_homebrew-O3 / x86_64-apple-darwin21.6.0
timestamp 2022-08-18 13:47:16 UTC (08:17:33 hours ago)
result warning (update) | warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config macos_12-gcc_12.1_homebrew / x86_64-apple-darwin21.6.0
timestamp 2022-08-18 13:44:13 UTC (08:20:36 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config macos_12-clang_13.1-static_O3 / x86_64-apple-darwin21.6.0
timestamp 2022-08-18 13:39:45 UTC (08:25:04 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config macos_12-clang_13.1-O3 / x86_64-apple-darwin21.6.0
timestamp 2022-08-18 13:37:45 UTC (08:27:04 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config macos_12-clang_13.1 / x86_64-apple-darwin21.6.0
timestamp 2022-08-18 13:31:17 UTC (08:33:32 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config macos_11-clang_13.0 / x86_64-apple-darwin20.5.0
timestamp 2022-08-18 13:28:24 UTC (08:36:25 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-clang_14.0_llvm_msvc_17.2_lld / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-18 13:06:25 UTC (08:58:24 hours ago)
result warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild
toolchain public-0.15.0
config windows_10-clang_13.0_llvm_msvc_16.11_lld / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-18 13:01:48 UTC (09:03:01 hours ago)
result warning (configure) | warning (update) | warning (test) | warning (install) | warning (uninstall) | log | rebuild
toolchain public-0.15.0
config windows_10-clang_13.0_llvm_msvc_16.11-static_O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-18 12:59:53 UTC (09:04:56 hours ago)
result warning (update) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-clang_14.0_libc++-static_O3 / x86_64-linux-gnu
timestamp 2022-08-18 12:47:32 UTC (09:17:16 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-clang_14.0_libc++ / x86_64-linux-gnu
timestamp 2022-08-18 12:45:52 UTC (09:18:56 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-clang_14.0-static_O3 / x86_64-linux-gnu
timestamp 2022-08-18 12:42:42 UTC (09:22:07 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-clang_14.0_libc++-O3 / x86_64-linux-gnu
timestamp 2022-08-18 12:41:29 UTC (09:23:19 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-clang_14.0-O3 / x86_64-linux-gnu
timestamp 2022-08-18 12:39:38 UTC (09:25:10 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-clang_14.0 / x86_64-linux-gnu
timestamp 2022-08-18 12:37:53 UTC (09:26:55 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config freebsd_13-clang_13.0-static_O3 / x86_64-freebsd13.1
timestamp 2022-08-18 12:04:04 UTC (10:00:45 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config freebsd_13-clang_13.0-O3 / x86_64-freebsd13.1
timestamp 2022-08-18 12:01:33 UTC (10:03:16 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config freebsd_13-clang_13.0 / x86_64-freebsd13.1
timestamp 2022-08-18 12:01:03 UTC (10:03:46 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-gcc_12.1-static_O3 / x86_64-linux-gnu
timestamp 2022-08-18 11:43:21 UTC (10:21:27 hours ago)
result warning (update) | warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-gcc_12.1-O3 / x86_64-linux-gnu
timestamp 2022-08-18 11:42:33 UTC (10:22:15 hours ago)
result warning (update) | warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-clang_13.0_libc++ / x86_64-linux-gnu
timestamp 2022-08-18 11:41:10 UTC (10:23:39 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-gcc_12.1-ndebug_O3 / x86_64-linux-gnu
timestamp 2022-08-18 11:40:31 UTC (10:24:18 hours ago)
result warning (update) | warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-gcc_12.1 / x86_64-linux-gnu
timestamp 2022-08-18 11:38:24 UTC (10:26:25 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-clang_13.0 / x86_64-linux-gnu
timestamp 2022-08-18 11:37:39 UTC (10:27:09 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config freebsd_12-clang_10.0 / x86_64-freebsd12.3
timestamp 2022-08-18 11:34:52 UTC (10:29:57 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-gcc_11.2_mingw_w64-static_O2 / x86_64-w64-mingw32
timestamp 2022-08-18 11:30:26 UTC (10:34:23 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-gcc_11.2_mingw_w64-O2 / x86_64-w64-mingw32
timestamp 2022-08-18 11:25:22 UTC (10:39:27 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-gcc_11.2_mingw_w64 / x86_64-w64-mingw32
timestamp 2022-08-18 11:25:09 UTC (10:39:40 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config linux_debian_11-gcc_11.3 / x86_64-linux-gnu
timestamp 2022-08-18 11:20:40 UTC (10:44:08 hours ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-clang_13.0_llvm_msvc_16.11-O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-18 10:40:31 UTC (11:24:18 hours ago)
result warning (configure) | warning (update) | warning (test) | warning (install) | error (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-clang_14.0_llvm_msvc_17.2-O2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-18 10:39:16 UTC (11:25:33 hours ago)
result warning (configure) | warning (update) | warning (test) | warning (install) | error (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-msvc_16.11-static_O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-18 10:38:52 UTC (11:25:57 hours ago)
result error (test) | log | rebuild
toolchain public-0.15.0
config windows_10-clang_14.0_llvm_msvc_17.2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-18 10:38:28 UTC (11:26:20 hours ago)
result warning (configure) | warning (update) | warning (test) | warning (install) | error (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-msvc_17.2-O2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-18 10:37:28 UTC (11:27:21 hours ago)
result warning (configure) | warning (update) | warning (test) | warning (install) | error (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-msvc_16.11-O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-18 10:36:39 UTC (11:28:10 hours ago)
result warning (configure) | warning (update) | warning (test) | warning (install) | error (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10_devmode-msvc_16.11 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-18 10:33:42 UTC (11:31:07 hours ago)
result warning (configure) | warning (update) | warning (test) | warning (install) | error (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-msvc_17.2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-18 10:33:08 UTC (11:31:41 hours ago)
result warning (configure) | warning (update) | warning (test) | warning (install) | error (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-clang_13.0_llvm_msvc_16.11 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-18 10:32:48 UTC (11:32:01 hours ago)
result warning (configure) | warning (update) | warning (test) | warning (install) | error (test-installed) | log | rebuild
toolchain public-0.15.0
config windows_10-msvc_16.11 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-18 10:32:35 UTC (11:32:14 hours ago)
result warning (configure) | warning (update) | warning (test) | warning (install) | error (test-installed) | log | rebuild