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-linux-gnu |
tgt config |
linux_fedora_40-gcc_14-bindist |
timestamp |
2024-12-10 06:04:44 UTC (01 00:45:36 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_fedora_39-gcc_13-bindist |
timestamp |
2024-12-10 05:24:08 UTC (01 01:26:13 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 |
2024-12-10 05:12:32 UTC (01 01:37:49 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 |
2024-12-10 05:12:16 UTC (01 01:38:05 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 |
2024-12-10 05:11:06 UTC (01 01:39:15 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 |
2024-12-10 05:07:20 UTC (01 01:43:01 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 |
2024-12-10 04:58:43 UTC (01 01:51:38 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_18 |
timestamp |
2024-12-10 04:58:11 UTC (01 01:52:10 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++-static_O3 |
timestamp |
2024-12-10 04:52:43 UTC (01 01:57:38 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 |
2024-12-10 04:52:10 UTC (01 01:58:10 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18-O3 |
timestamp |
2024-12-10 04:51:39 UTC (01 01:58:42 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18_libc++ |
timestamp |
2024-12-10 04:51:26 UTC (01 01:58:54 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 |
2024-12-10 04:45:09 UTC (01 02:05:12 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_18 |
timestamp |
2024-12-10 04:43:13 UTC (01 02:07:07 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 |
2024-12-10 04:27:03 UTC (01 02:23:18 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 |
2024-12-10 04:25:05 UTC (01 02:25:15 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 |
2024-12-10 04:24:44 UTC (01 02:25:37 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 |
2024-12-10 04:24:29 UTC (01 02:25:52 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 |
2024-12-10 04:24:26 UTC (01 02:25:55 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 |
2024-12-10 04:23:06 UTC (01 02:27:14 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 |
2024-12-10 04:22:21 UTC (01 02:28:00 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 |
2024-12-10 04:22:18 UTC (01 02:28:03 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 |
2024-12-10 04:21:44 UTC (01 02:28:37 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-gcc_14 |
timestamp |
2024-12-10 04:21:39 UTC (01 02:28:42 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 |
2024-12-10 04:19:16 UTC (01 02:31:04 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 |
2024-12-10 04:19:00 UTC (01 02:31:20 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 |
2024-12-10 04:17:57 UTC (01 02:32:24 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 |
2024-12-10 04:16:49 UTC (01 02:33:32 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 |
2024-12-10 04:15:33 UTC (01 02:34:48 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 |
2024-12-10 04:15:26 UTC (01 02:34:55 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 |
2024-12-10 04:15:00 UTC (01 02:35:21 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 |
2024-12-10 04:06:26 UTC (01 02:43:54 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-freebsd14.1 |
tgt config |
freebsd_14-clang_18-O3 |
timestamp |
2024-12-10 04:03:34 UTC (01 02:46:47 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 |
2024-12-10 04:03:13 UTC (01 02:47:08 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-freebsd14.1 |
tgt config |
freebsd_14-clang_18 |
timestamp |
2024-12-10 04:02:49 UTC (01 02:47:31 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 |
2024-12-10 04:01:36 UTC (01 02:48:45 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-freebsd13.3 |
tgt config |
freebsd_13-clang_17 |
timestamp |
2024-12-10 04:00:29 UTC (01 02:49:51 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 |
2024-12-10 03:59:39 UTC (01 02:50:42 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 |
2024-12-10 03:59:29 UTC (01 02:50:51 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-linux-gnu |
tgt config |
linux_debian_12-clang_17 |
timestamp |
2024-12-10 03:57:59 UTC (01 02:52:21 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 |
2024-12-10 00:51:18 UTC (01 05:59:03 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 |
2024-12-10 00:49:38 UTC (01 06:00:42 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_14-O3 |
timestamp |
2024-12-10 00:46:03 UTC (01 06:04:18 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_14 |
timestamp |
2024-12-10 00:40:02 UTC (01 06:10:19 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-gcc_13 |
timestamp |
2024-12-09 20:58:38 UTC (01 09:51:43 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_17_libc++ |
timestamp |
2024-12-09 20:34:07 UTC (01 10:16:14 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
aarch64-linux-gnu |
tgt config |
linux_debian_12-clang_17 |
timestamp |
2024-12-09 20:33:05 UTC (01 10:17:16 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin22.5.0 |
tgt config |
macos_13-clang_15.0 |
timestamp |
2024-12-09 12:20:46 UTC (01 18:29:34 days ago) |
result |
warning (update) | warning (test-installed) | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-gcc_14_homebrew-static_O3 |
timestamp |
2024-12-09 02:52:44 UTC (02 03:57:37 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-gcc_14_homebrew-O3 |
timestamp |
2024-12-09 02:51:29 UTC (02 03:58:51 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.17.0 |
target |
x86_64-apple-darwin23.5.0 |
tgt config |
macos_14-gcc_14_homebrew |
timestamp |
2024-12-09 02:50:33 UTC (02 03:59:48 days ago) |
result |
success | log | rebuild |
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 |
Changes
Change Log
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
- Surpress 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
Merged pull requests:
- Fix compilation on case-sensitive filesystems #463 (jhasse)
- Use function-like macros for prefixless macro names #462 (tbleher)
- Implement a multi lane atomic for assertion counts #453 (martinus)
2.4.4 (2020-12-25)
Full Changelog
Closed issues:
- 2.4.2: build fails #450
- combine the same tests for different build configurations from multiple shared objects without having symbol clashes #436
- Issue with GitHub Security Scanning: gmtime #423
2.4.3 (2020-12-16)
Full Changelog
2.4.2 (2020-12-15)
Full Changelog
Closed issues:
- DOCTEST_CHECK_THROWS_WITH_AS fails to work with dependant exception type #447
- MSVC warnings: narrowing conversion, signed/unsigned mismatch #446
- log contexts for failures in JUnit reporter #441
- MinGW "'mutex' in namespace 'std' does not name a type" error. #438
- Test runner thread initialization #435
- PLATFORM is misdetected on MacOSX Big Sur #415
- CHECK_EQ with enum values #276
Merged pull requests:
2.4.1 (2020-11-04)
Full Changelog
Closed issues:
- Avoid old C-style casts #424
- Segfault in unwind #422
- Inspect exception with gdb #421
- use-of-uninitialized-value #414
- Support unit tests with MPI #413
- Break into debugger support is missing for Linux #411
- What if built doctest as static library instead of header-only #408
- [Question] How to get test case name #407
- create extensions header for optional features requiring more std includes or newer C++ features #405
- tests/asserts summary lines are misaligned when counts exceed 999999 #402
- Call to 'ne' is ambiguous -- with solution #395
- Intermittent Segfaults #391
- Junit classname #390
- Add default printers for enums #121
Merged pull requests:
2.4.0 (2020-06-27)
Full Changelog
Closed issues:
- Count points based on the number of passed/failed cases? #386
- How to understand "#data_array" in std::string? #383
- crash: doctest with custom allocator #382
- Feature Request: format PRIVATE/PUBLIC/INTERFACE entries with constant indentation #378
- JUnit Reporter for Doctest #376
- Avoiding Feature Bloat #374
- StringMaker<wchar_t> fail to compile with C++20 enabled (GCC) #357
- doctest_discover_tests and FetchContent_Declare #351
- Junit reporter #318
Merged pull requests:
2.3.8 (2020-05-17)
Full Changelog
Closed issues:
- Scenario name can not be passed to -tc to execute single scenario #373
- Compile Error with CHECK_NOTHROW when using 2 Template Arguments #372
- dll example won't compile #371
- Build error with MinGW (Mingw-w64) due to missing Windows.h (with capital W) #370
- How to override file_line_to_stream? #369
- Memory sanitizer fails. #365
- Warning c6319 in Visual Studio #359
- Any option to show each test case's execute time? #358
- doctest in embedded #355
- Reloading a plugin with test cases leads to a segmentation fault #350
- Compiling with DOCTEST_CONFIG_COLORS_ANSI fails on Windows #348
- Can I inherit ConsoleReporter? #344
- Noreturn and noexcept defines for Visual Studio 2013 support #327
- Data-driven testing -- print out the deepest DOCTEST_SUBCASE #215
- Print the SUBCASE path when an assert fails in the TEST_CASE body #125