Skip to content

Tags

Tags give the ability to mark specific points in history as being important
  • v2.7.1
    b9dd1936 · v2.7.1 ·
    v2.7.1
    
    --- Improvements ---
    * Reporters now print out the filters applied to test cases (#1550, #1585)
    * Added `GENERATE_COPY` and `GENERATE_VAR` macros that can use variables inside the generator expression
      * Because of the significant danger of lifetime issues, the default `GENERATE` macro still does not allow variables
    * The `map` generator helper now deduces the mapped return type (#1576)
    
    --- Fixes ---
    * Fixed ObjC++ compilation (#1571)
    * Fixed test tag parsing so that `[.foo]` is now parsed as `[.][foo]`.
    * Suppressed warning caused by the Windows headers defining SE codes in different manners (#1575)
    
  • v2.7.0
    d6330727 · v2.7.0 ·
    v2.7.0
    
    --- Improvements ---
    * `TEMPLATE_PRODUCT_TEST_CASE` now uses the resulting type in the name, instead of the serial number (#1544)
    * Catch2's single header is now strictly ASCII (#1542)
    * Added generator for random integral/floating point types
      * The types are inferred within the `random` helper
    * Added back RangeGenerator (#1526)
      * RangeGenerator returns elements within a certain range
    * Added ChunkGenerator generic transform (#1538)
      * A ChunkGenerator returns the elements from different generator in chunks of n elements
    * Added `UNSCOPED_INFO` (#415, #983, #1522)
      * This is a variant of `INFO` that lives until next assertion/end of the test case.
    
    --- Fixes ---
    * All calls to C stdlib functions are now `std::` qualified (#1541)
      * Code brought in from Clara was also updated.
    * Running tests will no longer open the specified output file twice (#1545)
      * This would cause trouble when the file was not a file, but rather a named pipe
      * Fixes the CLion/Resharper integration with Catch
    * Fixed `-Wunreachable-code` occuring with (old) ccache+cmake+clang combination (#1540)
    * Fixed `-Wdefaulted-function-deleted` warning with Clang 8 (#1537)
    * Catch2's type traits and helpers are now properly namespaced inside `Catch::` (#1548)
    * Fixed std{out,err} redirection for failing test (#1514, #1525)
      * Somehow, this bug has been present for well over a year before it was reported
    
  • v2.6.1
    dbbab872 · v2.6.1 ·
    v2.6.1
    
    === Improvements ===
    
    * The JUnit reporter now also reports random seed (#1520, #1521)
    
    === Fixes ===
    
    * The TAP reporter now formats comments with test name properly (#1529)
    * `CATCH_REQUIRE_THROWS`'s internals were unified with `REQUIRE_THROWS` (#1536)
      * This fixes a potential `-Wunused-value` warning when used
    * Fixed a potential segfault when using any of the `--list-*` options (#1533, #1534)
    
  • v2.6.0
    d75e9b3c · v2.6.0 ·
    v2.6.0
    
    **With this release the data generator feature is now fully supported.**
    
    --- Improvements ---
    * Added `TEMPLATE_PRODUCT_TEST_CASE` (#1454, #1468)
      * This allows you to easily test various type combinations, see documentation for details
    * The error message for `&&` and `||` inside assertions has been improved (#1273, #1480)
    * The error message for chained comparisons inside assertions has been improved (#1481)
    * Added `StringMaker` specialization for `std::optional` (#1510)
    * The generator interface has been redone once again (#1516)
      * It is no longer considered experimental and is fully supported
      * The new interface supports "Input" generators
      * The generator documentation has been fully updated
      * We also added 2 generator examples
    
    --- Fixes ---
    * Fixed `-Wredundant-move` on newer Clang (#1474)
    * Removed unreachable mentions `std::current_exception`, `std::rethrow_exception` in no-exceptions mode (#1462)
      * This should fix compilation with IAR
    * Fixed missing `<type_traits>` include (#1494)
    * Fixed various static analysis warnings
      * Unrestored stream state in `XmlWriter` (#1489)
      * Potential division by zero in `estimateClockResolution` (#1490)
      * Uninitialized member in `RunContext` (#1491)
      * `SourceLineInfo` move ops are now marked `noexcept`
      * `CATCH_BREAK_INTO_DEBUGGER` is now always a function
    * Fix double run of a test case if user asks for a specific section (#1394, #1492)
    * ANSI colour code output now respects `-o` flag and writes to the file as well (#1502)
    * Fixed detection of `std::variant` support for compilers other than Clang (#1511)
    
    --- Contrib ---
    * `ParseAndAddCatchTests` has learned how to use `DISABLED` CTest property (#1452)
    * `ParseAndAddCatchTests` now works when there is a whitspace before the test name (#1493)
    
    --- Miscellaneous ---
    * We added new issue templates for reporting issues on GitHub
    * `contributing.md` has been updated to reflect the current test status (#1484)
    
  • v2.5.0
    6ccd4670 · v2.5.0 ·
    v2.5.0
    
    Improvements
    * Added support for templated tests via `TEMPLATE_TEST_CASE` (#1437)
    
    Fixes
    * Fixed compilation of `PredicateMatcher<const char*>` by removing partial specialization of `MatcherMethod<T*>`
    * Listeners now implicitly support any verbosity (#1426)
    * Fixed compilation with Embarcadero builder by introducing `Catch::isnan` polyfill (#1438)
    * Fixed `CAPTURE` asserting for non-trivial captures (#1436, #1448)
    
    Miscellaneous
    * We should now be providing first party Conan support via https://bintray.com/catchorg/Catch2 (#1443)
    * Added new section "deprecations and planned changes" to the documentation
      * It contains summary of what is deprecated and might change with next major version
    * From this release forward, the released headers should be pgp signed (#430)
      * KeyID `E29C 46F3 B8A7 5028 6079 3B7D ECC9 C20E 314B 2360`
      * or https://codingnest.com/files/horenmar-publickey.asc
    
  • v2.4.2
    03d122a3 · v2.4.2 ·
  • v2.4.1
    9e1bdca4 · v2.4.1 ·
  • v2.4.0
    60b05b20 · v2.4.0 ·
  • v2.3.0
    15cf3caa · v2.3.0 ·
  • v2.2.3
    d2a130f2 · v2.2.3 ·
  • v1.12.2
    6860c8de · v1.12.2 ·
  • v2.2.2
    d2d8455b · v2.2.2 ·
  • v2.2.1
    0a34cc20 · v2.2.1 ·
  • v2.2.0
    d14b7563 · v2.2.0 ·
  • v1.12.1
    74effafc · v1.12.1 ·
  • v2.1.2
    7cbd0b58 · v2.1.2 ·
  • v2.1.1
    62dae592 · v2.1.1 ·
  • v1.12.0
    34f7cfe0 · v1.12.0 ·
  • v2.1.0
    cd76f573 · v2.1.0 ·
  • v2.0.1