doctest v2.4.9 Release Notes
Release Date: 2022-06-18 // 9 months 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)