All Versions
42
Latest Version
Avg Release Cycle
56 days
Latest Release
675 days ago

Changelog History
Page 1

  • v2.4.9 Changes

    June 18, 2022

    βœ… Full Changelog

    Closed issues:

    • πŸ‘€ Visual Studio's Test Explorer and Resharper C++'s Unit Test Explorer don't see Doctest's tests #661 (KulaGGin)
    • βœ… How to get detailed information about testcases failing due to thrown exceptions? #660 (NiklasKappel)
    • βž• Add clang-tidy integration and fix all warnings #659 (Saalvage)
    • Avoid static init problem in insufficient_procs() (MPI) #657 (starintheuniverse)
    • πŸ‘‰ Use MPI_Isend in MpiConsoleReporter to avoid deadlock #656 (starintheuniverse)
    • Deadlock in MpiConsoleReporter when root rank fails assert #655 (starintheuniverse)
    • Cleanup of DOCTEST_DO_BINARY_EXPRESSION_COMPARISON. Fixes #651 #652 (iboB)
    • Comparison with implicit cast from non-const value can't be decomposed #651 (iboB)
    • Local structured bindings cannot be used in CHECK macros (since 2.4.8) #647 (pragmaxwell)
    • Add tests for DOCTEST_CONFIG_USE_STD_HEADERS #643 (Saalvage)
    • Stringification amendments #642 (Saalvage)
    • Clean up defines a bit; Implement #439 #641 (Saalvage)
    • πŸ›  Fix #508 #640 (Saalvage)
    • πŸ›  Fix #508 #639 (Saalvage)
    • New doctest version gives me an error: reference to local binding '...' declared in enclosing function 'DOCTEST_ANON_FUNC_16' #638 (a4z)
    • The tutorial example does not work (linker errors) with clang 10 #637 (sixcy)
    • Implementing `DOCTEST_ASSERT_IMPLEMENT_1` as lambda prevents testing structured bindings #636 (ChrisThrasher)
    • 🚚 re-re-remove overly restrictive minimum version of meson #635 (eli-schwartz)
    • πŸ›  Fix move-only types failing to decompose correctly #634 (Saalvage)
    • Weird compilation error when using CHECK_THROWS/CHECK_THROWS_AS on Visual Studio 2019 with no exceptions #633 (yeputons)
    • βœ… Error triggered by comparing typeid with new doctest 2.4.8 #632 (JazzSuite)
    • πŸ‘Œ Improve Mac PowerPC support #631 (ryandesign)
    • issue introduced in 2.4.7 #630 (onqtam)
    • Decompose expressions containing the spaceship operator #629 (falbrechtskirchinger)
    • βž• added nolint for cert-err58 #628 (serguei-k)
    • Fix properties not being passed in doctest_discover_tests #626 (quantumsteve)
    • Config no multithreading #625 (Saalvage)
    • πŸ‘ wasm*-support? #624 (FrozenSource)
    • πŸ›  Fix MPI extension to work with no parallel tests #623 (BerengerBerthoul)
    • string comparison leads to gotting stuck #622 (laoshaw)
    • doctest_discover_tests no longer sets ENVIRONMENT variables for discovered tests. #621 (quantumsteve)
    • βž• Add contains option to checks. #620 (MFraters)
    • Feature request: CHECK_THROWS_WITH with contains option #619 (MFraters)
    • Add alias target for doctest_with_main #617 (jessestricker)
    • πŸ‘ Allow escaping backslash with backslash in filters (#614) #616 (yeputons)
    • πŸ›  Fix operator<< #615 (Saalvage)
    • ✏️ Correct minor typos #613 (utilForever)
    • πŸ›  Fix MPI extension to work if launched without mpirun/mpiexec #612 (BerengerBerthoul)
    • πŸ›  Fix mpi subcase #611 (BerengerBerthoul)
    • compilation error with custom operator== defined in namespace #610 (zvyagin1)
    • ⚠ Regression: Clang-Tidy warnings in 2.4.8 #607 (nlohmann)
    • Internal compiler error with GCC 7.5 #606 (foonathan)
    • 🏷 tagging convension has changed? #605 (kloczek)
    • ⚑️ Update Doctest in vcpkg to 2.4.8 #604 (gc435)
    • βž• Add IsNaN operator! #603 (Saalvage)
    • Ignored generated files from CMake, OSX, Xcode, and VS #602 (LeonBrands)
    • 🚚 Move roadmap and wipe it clean #601 (Saalvage)
    • βœ‚ removes a duplicate word 'most' in configuration.md #599 (krishnakumarg1984)
    • πŸ›  Fix subcase reentry #598 (Saalvage)
    • Loop-generated `SUBCASE`s are not run #597 (yeputons)
    • Void #596 (Saalvage)
    • βž• Add flag that forces custom stringification methods to be provided #595 (Saalvage)
    • πŸ›  Fix coverage #594 (Saalvage)
    • βœ… TEST CODECOV PR BEHAVIOR #593 (Saalvage)
    • 🍎 Ignore CMake and MacOS generated files #592 (LeonBrands)
    • πŸ”‹ Feature request: option to disable fallback "{?}" stringifier #591 (YarikTH)
    • βž• Add tests for default stringification result of doctest #590 (YarikTH)
    • πŸ”‹ Feature config ret vals #589 (Saalvage)
    • DOCTEST_CONFIG_ASSERT_RETURN_VALUES #588 (Saalvage)
    • πŸ‘Œ Support pretty printing of container based on heuristics #587 (YarikTH)
    • πŸ”¨ Refactor stringification #585 (Saalvage)
    • πŸ”‹ Feature: Better NaN #584 (Saalvage)
    • Nan check #582 (Saalvage)
    • ⚑️ Update roadmap following maintainer change #581 (eyalroz)
    • Regression between 2.4.6 and 2.4.7 #571 (YarikTH)
    • πŸ— build failure with gcc-11.2 when using user declared operator<<(ostream, vector) #551 (nlitsme)
    • variable maximum is assigned 6206517616395625 instead of the actual return value which is 5.0 #530 (kk723)
    • toString can call existing user-defined toString through ADL incorrectly #508 (zeux)
    • πŸ”’ [Coverity] Concurrent data access violations (MISSING_LOCK) doctest.h: 5838 in doctest::::ConsoleReporter::test_case_start(const doctest::TestCaseData &)() #486 (jiridanek)
    • Provide an error message if REQUIRE (or other disabled assertion macros) are used when exceptions are disabled #439 (alexeyr)
    • Conflict with templated toString function #420 (TillHeinzel)
    • -tc does not work with comma in names #398 (martinus)
    • Compile error on MSVC2019 with any macro which involves stringification of std::string (asserts, INFO, etc.) when isn't included #381 (nyanpasu64)
    • 🏁 the dll example doesn't run correctly on Windows with MinGW #375 (GregKon)
    • βž• add basic conan recipe #354 (trondhe)
    • CHECK_MESSAGE() should accept temporaries #337 (eyalroz)
    • βœ… stringify of cstring literals doesn't work out of the box with separate test_driver.cpp #329 (teichert)
    • ⚠ warning : function declared 'noreturn' should not return [-Winvalid-noreturn] #307 (Vexthil)
    • βœ… Test cases containing a comma cannot be run individually #297 (Tradias)
    • βœ… [bug] Can't compile the tests because of mutex, that is declared in the doctest #242 (BrunaoW)
    • The `CHECK` macro conflicts with Boost.Beast (and surely others) #234 (reddwarf69)
    • πŸ”‹ Feature request: check if a `float` or `double` is NaN #105 (iamthad)

    πŸ”€ Merged pull requests:

    • βž• Add clang-tidy integration and fix all warnings #659 (Saalvage)
    • Avoid static init problem in insufficient_procs() (MPI) #657 (starintheuniverse)
    • πŸ‘‰ Use MPI_Isend in MpiConsoleReporter to avoid deadlock #656 (starintheuniverse)
    • Cleanup of DOCTEST_DO_BINARY_EXPRESSION_COMPARISON. Fixes #651 #652 (iboB)
    • Add tests for DOCTEST_CONFIG_USE_STD_HEADERS #643 (Saalvage)
    • Stringification amendments #642 (Saalvage)
    • Clean up defines a bit; Implement #439 #641 (Saalvage)
    • πŸ›  Fix #508 #640 (Saalvage)
    • 🚚 re-re-remove overly restrictive minimum version of meson #635 (eli-schwartz)
    • πŸ›  Fix move-only types failing to decompose correctly #634 (Saalvage)
    • πŸ‘Œ Improve Mac PowerPC support #631 (ryandesign)
    • βž• added nolint for cert-err58 #628 (serguei-k)
    • Fix properties not being passed in doctest_discover_tests #626 (quantumsteve)
    • Config no multithreading #625 (Saalvage)
    • πŸ›  Fix MPI extension to work with no parallel tests #623 (BerengerBerthoul)
    • βž• Add contains option to checks. #620 (MFraters)
    • Add alias target for doctest_with_main #617 (jessestricker)
    • πŸ‘ Allow escaping backslash with backslash in filters (#614) #616 (yeputons)
    • πŸ›  Fix operator<< #615 (Saalvage)
    • πŸ›  Fix MPI extension to work if launched without mpirun/mpiexec #612 (BerengerBerthoul)
    • πŸ›  Fix mpi subcase #611 (BerengerBerthoul)
    • βž• Add IsNaN operator! #603 (Saalvage)
    • 🚚 Move roadmap and wipe it clean #601 (Saalvage)
    • βœ‚ removes a duplicate word 'most' in configuration.md #599 (krishnakumarg1984)
    • πŸ›  Fix subcase reentry #598 (Saalvage)
    • βž• Add flag that forces custom stringification methods to be provided #595 (Saalvage)
    • πŸ›  Fix coverage #594 (Saalvage)
    • 🍎 Ignore CMake and MacOS generated files #592 (LeonBrands)
    • πŸ”‹ Feature config ret vals #589 (Saalvage)
    • πŸ”¨ Refactor stringification #585 (Saalvage)
    • πŸ”‹ Feature: Better NaN #584 (Saalvage)
    • Nan check #582 (Saalvage)
  • v2.4.8 Changes

    January 10, 2022

    βœ… Full Changelog

    Closed issues:

    • βœ… [meta] Change git tagging pattern #579
    • TEST_CASE_TEMPLATE causes "-Wunused-local-typedef" warning on Clang #577
    • βœ… Regression between 2.4.6 and 2.4.7 with Visual Studio 2015 #573
    • βœ… Regression between 2.4.6 and 2.4.7 #571
    • βœ… Compilation error on MSVS2019 with ClangCL #570
    • ⚑️ Compilation errors on MSVC 2015 after doctest update to 2.4.7 #568
    • βœ… g\_oss is causing incorrect stringification results #567
    • βœ… MSVC warnings leak through when using the library as a single header with /Wall #565
    • βœ… [PROJECT ANNOUNCEMENT] Looking for maintainers for Doctest #554
    • βœ… Is this still maintained? #537
    • βœ… [Feature request] CHECK could return the value of expression #496
    • πŸ”‹ Feature: check or return false #426
    • βœ… Undefined reference of operator\<\<\(ostream&, const string&\) when compiling with clang 10 and libc++ 10 on Ubuntu 16.04.6 LTS #356
    • βœ… Doctest is not able to compile on OSX #126

    πŸ”€ Merged pull requests:

    • πŸ”¨ Continuous Integration Refactor #580 (Saalvage)
    • πŸ›  Fix semicolon enforcement #578 (Saalvage)
    • πŸ›  Fix unused variable 2 #576 (Saalvage)
    • 🏁 Alternative approach to Windows color initialization #575 (Saalvage)
    • βœ… Assertions returning booleans #574 (Saalvage)
    • πŸ›  Fix the thread-local string-stream #569 (Saalvage)
    • βœ… Clean up warning suppression a bit; Fixes #565 #566 (Saalvage)
    • βž• Add Universal Windows Platform support #558 (isaevil)
  • v2.4.7 Changes

    December 10, 2021

    βœ… 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:

    • βœ… Make String::operator+ non-member #564 (Saalvage)
    • βž• Add -minimal flag #562 (Saalvage)
    • βœ… Quiet flag #561 (Saalvage)
    • βœ… Fix redefinition error while using double time DOCTEST_ANONYMOUS(DOCTEST_CAPTURE_) #557 (isaevil)
    • πŸ›  Fix error: missing initializer for member doctest::detail::TestSuite #556 (isaevil)
    • 🍎 Xcode 11.3 with macos 10.15 #548 (jsoref)
    • βœ… Spelling #546 (jsoref)
    • πŸ›  Fix build with -Wunused-but-set-variable #543 (jktjkt)
    • πŸ— build(meson): use override\_dependency if supported #538 (Tachi107)
    • πŸ›  Fix google death test URL #528 (emrecil)
    • πŸ›  Fixing issue with doctestAddTests.cmake #527 (jharmer95)
    • βœ… Replace gendered pronouns #525 (mletterle)
    • πŸ›  Fixed intel compiler parser bug. Should fix #502 #523 (BerengerBerthoul)
    • βœ… specifying working directory for execute_process in doctest_discover_tests #518 (philbucher)
    • πŸ›  Fix the logic that depends on optional copy elision optimization #516 (ivankochin)
    • πŸ›  Fix reserved identifiers #510 (ts826848)
    • πŸ›  Fix build with GCC 11 #505 (jktjkt)
    • βœ… minor fixes in MPI docs #499 (philbucher)
    • βž• Add a minimal bazel config #497 (elliottt)
    • βœ… Handle escaped commas in parsed arguments #493 (friendlyanon)
    • πŸ›  Fixes Issue 476 . When running executables with "-s" stringifyBinaryE… #491 (navinp0304)
    • βœ… Set variable to 0 if not set #490 (shivupa)
  • v2.4.6 Changes

    March 22, 2021

    βœ… 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)
  • v2.4.5 Changes

    February 02, 2021

    βœ… 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

    πŸ”€ 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)
  • v2.4.4 Changes

    December 25, 2020

    βœ… 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
  • v2.4.3 Changes

    December 16, 2020
  • v2.4.2 Changes

    December 15, 2020

    βœ… 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:

  • v2.4.1 Changes

    November 04, 2020

    βœ… 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:

  • v2.4.0 Changes

    June 27, 2020

    βœ… 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: