doctest v2.4.9 Release Notes

Release Date: 2022-06-18 // almost 2 years ago
  • โœ… 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)

Previous changes from v2.4.8

  • โœ… 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)