doctest v2.4.9 Release Notes
Release Date: 2022-06-18 // almost 2 years ago-
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
-
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)