The fastest feature-rich C++11/14/17/20 single-header testing framework for unit tests and TDD
Requires (1)
|
c++11 | c++14 | c++17 | c++20 |
Reviews
Builds
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_15.0 |
timestamp |
2025-05-18 12:54:55 UTC (09:20:22 hours ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-static_O3 |
timestamp |
2025-05-17 01:22:17 UTC (01 20:53:00 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-O3 |
timestamp |
2025-05-17 01:21:14 UTC (01 20:54:03 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18-O3 |
timestamp |
2025-05-17 01:21:04 UTC (01 20:54:13 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++ |
timestamp |
2025-05-17 01:20:01 UTC (01 20:55:16 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18-static_O3 |
timestamp |
2025-05-17 01:19:28 UTC (01 20:55:49 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18 |
timestamp |
2025-05-17 01:18:40 UTC (01 20:56:37 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-static_O3 |
timestamp |
2025-05-17 00:30:10 UTC (01 21:45:07 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-O3 |
timestamp |
2025-05-17 00:29:33 UTC (01 21:45:44 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18-static_O3 |
timestamp |
2025-05-17 00:27:39 UTC (01 21:47:37 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++ |
timestamp |
2025-05-17 00:26:55 UTC (01 21:48:22 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18 |
timestamp |
2025-05-17 00:22:37 UTC (01 21:52:40 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18-O3 |
timestamp |
2025-05-17 00:22:02 UTC (01 21:53:15 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.10-O2 |
timestamp |
2025-05-16 20:34:44 UTC (02 01:40:33 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.10-static_O2 |
timestamp |
2025-05-16 20:31:46 UTC (02 01:43:31 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.10 |
timestamp |
2025-05-16 20:30:37 UTC (02 01:44:40 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-ndebug_O3 |
timestamp |
2025-05-16 15:04:22 UTC (02 07:10:55 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-static_O3 |
timestamp |
2025-05-16 15:03:48 UTC (02 07:11:29 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-O3 |
timestamp |
2025-05-16 15:03:17 UTC (02 07:12:00 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_14 |
timestamp |
2025-05-16 15:01:11 UTC (02 07:14:06 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-static_O3 |
timestamp |
2025-05-16 14:56:22 UTC (02 07:18:55 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-O3 |
timestamp |
2025-05-16 14:56:17 UTC (02 07:19:00 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-ndebug_O3 |
timestamp |
2025-05-16 14:55:50 UTC (02 07:19:27 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_14 |
timestamp |
2025-05-16 14:54:36 UTC (02 07:20:41 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_13.2_mingw_w64-O2 |
timestamp |
2025-05-16 14:40:43 UTC (02 07:34:34 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_13.2_mingw_w64-static_O2 |
timestamp |
2025-05-16 14:40:40 UTC (02 07:34:37 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_18_llvm_msvc_17.10-static_O2 |
timestamp |
2025-05-16 14:40:09 UTC (02 07:35:08 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-w64-mingw32 |
tgt config |
windows_10-gcc_13.2_mingw_w64 |
timestamp |
2025-05-16 14:39:49 UTC (02 07:35:28 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_18_llvm_msvc_17.10-O2 |
timestamp |
2025-05-16 14:38:37 UTC (02 07:36:40 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_18_llvm_msvc_17.10 |
timestamp |
2025-05-16 14:37:25 UTC (02 07:37:52 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.8-static_O2 |
timestamp |
2025-05-16 14:35:58 UTC (02 07:39:19 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.8-O2 |
timestamp |
2025-05-16 14:34:22 UTC (02 07:40:55 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_12-bindist |
timestamp |
2025-05-16 14:34:21 UTC (02 07:40:56 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-msvc_17.8 |
timestamp |
2025-05-16 14:34:04 UTC (02 07:41:13 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-microsoft-win32-msvc14.3 |
tgt config |
windows_10-clang_17_msvc_msvc_17.10 |
timestamp |
2025-05-16 14:32:00 UTC (02 07:43:17 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-freebsd14.1 |
tgt config |
freebsd_14-clang_18-static_O3 |
timestamp |
2025-05-16 14:27:46 UTC (02 07:47:31 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-freebsd14.1 |
tgt config |
freebsd_14-clang_18-O3 |
timestamp |
2025-05-16 14:27:09 UTC (02 07:48:08 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_ubuntu_24.04-gcc_13-bindist |
timestamp |
2025-05-16 14:26:59 UTC (02 07:48:18 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-freebsd14.1 |
tgt config |
freebsd_14-clang_18 |
timestamp |
2025-05-16 14:26:54 UTC (02 07:48:23 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-freebsd13.3 |
tgt config |
freebsd_13-clang_17 |
timestamp |
2025-05-16 14:25:23 UTC (02 07:49:54 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_13.1 |
timestamp |
2025-05-16 14:23:15 UTC (02 07:52:02 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_17_libc++ |
timestamp |
2025-05-16 14:22:17 UTC (02 07:53:00 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_17 |
timestamp |
2025-05-16 14:21:01 UTC (02 07:54:16 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_fedora_40-gcc_14-bindist |
timestamp |
2025-05-16 04:08:10 UTC (02 18:07:07 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_13 |
timestamp |
2025-05-16 02:38:08 UTC (02 19:37:09 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_17_libc++ |
timestamp |
2025-05-16 02:21:20 UTC (02 19:53:57 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_17 |
timestamp |
2025-05-16 02:20:21 UTC (02 19:54:56 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_fedora_39-gcc_13-bindist |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-clang_15.0 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-clang_15.0-O3 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-clang_15.0-static_O3 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-gcc_14_homebrew |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-gcc_14_homebrew-O3 |
result |
unbuilt |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-gcc_14_homebrew-static_O3 |
result |
unbuilt |
Changes
Change Log
2.4.7 (2021-12-10)
Full Changelog
Implemented enhancements:
- Add a default Bazel BUILD file #433
Fixed bugs:
- Stack-buffer-overflow probably because char array is viewed as NULL terminated string #476
Closed issues:
- "C4834: discarding return value" with REQUIRE_THROWS #549
- Xcode 11.3 is gone from macOS-latest (=macOS-11) #547
- is it possible to define dependency for CHECKs #545
- Output summary explanation #541
- compiler errors in doctest.h using cmake in CLion #540
- Fails to build in VS2013 because of constexpr #539
- -Wreserved-identifier warnings with Clang 13.0.0 #536
- Build fails with latest MSVC 2019 (v16.11) due to /WX #535
- VS 16.11 warning about unreferenced function with internal linkage #533
- Faq googletest mocking dead link #532
- FR: Documentation: FAQ: Add sectoin 'multiple files' #526
- CMAKE: doctest_discover_tests() error when ADD_LABELS is not specified #524
- Register tests based on test data available #521
- naming override in different testcase files #517
- Segmentation fault during the compilation without the copy elision optimization #515
- Compiler warnings on Xcode 12.5 #514
- Using filter
-sc
does not work properly? #513
- [question] Example of tests in production code & DLLs & shared libraries? #511
- Dumping fixture state to disk on error #509
- Macros construct reserved identifiers #507
- Running doctest on embedded ARM Cortex µCs #506
- Asserts Outside of Tests Example Does Not Link #504
- [FEATURE REQUEST] Quiet flag #503
- Compile error on Intel C++ Classic Compilers #502
- compiling doctest in 32-bit with __stdcall calling convention fails #500
- Duplicate 'const' compilation error from TEST_CASE_CLASS macro #498
- Packed fields can't be accessed in 2.4.6 #495
- Dangling pointers with .str().c_str() #494
- Automatic adding of TEST_SUITE labels to discovered tests fails if ADD_LABELS not set #489
- Adding a bunch of REQUIRE/CHECK utilities #487
- Warning C4114 in MSVC #485
- Own repository #410
- Linking problem with Clang 10 on Windows #362
- Add option not to print the intro text #342
- [Feature] Better integration with tools (VS Code Test Adapter Extension) #320
- vscode test explorer #303
- Want an option not to print any intro #245
- Add way to disable printing of intro #181
Merged pull requests:
2.4.6 (2021-03-22)
Full Changelog
Fixed bugs:
- REQUIRE does not compile when operator== in different namespace #443
- Using templated operator== inside TEST_CASE changes deduced types of forwarding references #399
Closed issues:
- CMake doesn't link package #483
- Assertions are slow when running on Windows with a debugger attached #481
- Get list of registered test-case names #479
- Can't compile with glibc master (future 2.34): SIGSTKSZ is no longer a constant #473
- How to use Doctest with Github Actions #472
- Link error (multiple definition...) in simple project #470
- INFO does not compile when used like a function call #469
- std::uncaught_exceptions is only available if compiling for macOS 10.12 or above #466
- Compile failure with WinRT on 2.4.5 #465
Merged pull requests:
- Improve speed with attached debugger (Windows) #482 (pgroke)
- Convert to bool by casting, rather than double negation #480 (kitegi)
- Fix compile error when targeting macOS version earlier and macOS 10.12 #478 (SamWindell)
- Fix MSVC linter warning about uninitialized TestSuite variables #471 (Reedbeta)
- REQUIRE does not compile when operator== in different namespace #443 . #468 (navinp0304)
- Automatically add TEST_SUITE labels to discovered tests #464 (shivupa)
2.4.5 (2021-02-02)
Full Changelog
Closed issues:
- Stack buffer overflow in
String
constructor #460
- Suppress warnings from clang-tidy #459
- compilation issue in MSVC when defining DOCTEST_THREAD_LOCAL to static #458
- nvcc compiler warning; doctest.h(4138): warning : expression has no effect #454
- Use of std::atomic can slow down multithreaded tests #452