-
v2.13.8 protected216713a4 · ·
v2.13.8 --- Fixes --- * Made `Approx::operator()` const (#2288) * Improved pkg-config files (#2284) * Fixed warning suppression leaking out of Catch2 when compiled with clang.exe (#2280) * The macro-generated names for things like `TEST_CASE` no longer create reserved identifiers (#2336) --- Improvements --- * Clang-tidy should no longer warn about missing virtual dispatch in `FilterGenerator`'s constructor (#2314)
-
v2.13.7 protectedc4e3767e · ·
v2.13.7 --- Fixes --- * Added missing `<iterator>` include in benchmarking. (#2231) * Fixed noexcept build with benchmarking enabled (#2235) * Fixed build for compilers with C++17 support but without C++17 library support (#2195) * JUnit only uses 3 decimal places when reporting durations (#2221) * `!mayfail` tagged tests are now marked as `skipped` in JUnit reporter output (#2116)
-
v2.13.5 protected42e368dd · ·
2.13.5 --- Improvements --- * Detection of MAC and IPHONE platforms has been improved (#2140, #2157) * Added workaround for bug in XLC 16.1.0.1 (#2155) * Add detection for LCC when it is masquerading as GCC (#2199) * Modified posix signal handling so it supports newer libcs (#2178) * `MINSIGSTKSZ` was no longer usable in constexpr context. --- Fixes --- * Fixed compilation of benchmarking when `min` and `max` macros are defined (#2159) * Including `windows.h` without `NOMINMAX` remains a really bad idea, don't do it --- Miscellaneous --- * `Catch2WithMain` target (static library) is no longer built by default (#2142) * Building it by default was at best unnecessary overhead for people not using it, and at worst it caused trouble with install paths * To have it built, set CMake option `CATCH_BUILD_STATIC_LIBRARY` to `ON` * The check whether Catch2 is being built as a subproject is now more reliable (#2202, #2204) * The problem was that if the variable name used internally was defined the project including Catch2 as subproject, it would not be properly overwritten for Catch2's CMake.
-
v2.13.4 protectedde6fe184 · ·
v2.13.4 --- Improvements * Improved the hashing algorithm used for shuffling test cases (#2070) * `TEST_CASE`s that differ only in the last character should be properly shuffled * Note that this means that v2.13.4 gives you a different order of test cases than 2.13.3, even given the same seed. --- Miscellaneous * Deprecated `ParseAndAddCatchTests` CMake integration (#2092) * It is impossible to implement it properly for all the different test case variants Catch2 provides, and there are better options provided. * Use `catch_discover_tests` instead, which uses runtime information about available tests. * Fixed bug in `catch_discover_tests` that would cause it to fail when used in specific project structures (#2119) * Added Bazel build file * Added an experimental static library target to CMake
-
v2.13.3 protectedff349a50 · ·
v2.13.3 --- Fixes * Fixed possible infinite loop when combining generators with section filter (`-c` option) (#2025) --- Miscellaneous * Fixed `ParseAndAddCatchTests` not finding `TEST_CASE`s without tags (#2055, #2056) * `ParseAndAddCatchTests` supports `CMP0110` policy for changing behaviour of `add_test` (#2057) * This was the shortlived change in CMake 3.18.0 that temporarily broke `ParseAndAddCatchTests`
-
v3.0.0-preview3 protectedb9853b4b · ·
v3.0.0-preview3 --- Changes compared to preview 2 * Incorporated v2 changes up to v2.13.2 * Some runtime performance improvements * The static library compiles 20-30% faster * The overhead of including catch_test_macros.hpp is 25-30% smaller * Amalgamated, 1 .hpp + 1 .cpp, distribution is provided * Reporter interface has slightly changed * Listener base renamed * Rewritten contributing documentation * Primary development is now on `devel` branch * v3 is now the primary development version
-
v2.13.2 protected87074da7 · ·
v2.13.2 === Improvements === * Implemented workaround for AppleClang shadowing bug (#2030) * Implemented workaround for NVCC ICE (#2005, #2027) === Fixes === * Fixed detection of `std::uncaught_exceptions` support under non-msvc platforms (#2021) * Fixed the experimental stdout/stderr capture under Windows (#2013) === Miscellaneous === * `catch_discover_tests` has been improved significantly (#2023, #2039) * You can now specify which reporter should be used * You can now modify where the output will be written * `WORKING_DIRECTORY` setting is respected * `ParseAndAddCatchTests` now supports `TEMPLATE_TEST_CASE` macros (#2031) * Various documentation fixes and improvements (#2022, #2028, #2034)
-
v2.13.1 protectedfd9f5ac6 · ·
v2.13.1 --- Improvements --- * `ParseAndAddCatchTests` handles CMake v3.18.0 correctly (#1984) * Improved autodetection of `std::byte` (#1992) * Simplified implementation of templated test cases (#2007) * This should have a tiny positive effect on its compilation throughput --- Fixes --- * Automatic stringification of ranges handles sentinel ranges properly (#2004)