doctest v2.4.7 Release Notes

Release Date: 2021-12-10 // over 2 years 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)