doctest v2.4.7 Release Notes

Release Date: 2021-12-10 // about 2 months ago
  • βœ… 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)

Previous changes from v2.4.6

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