./devel/catch2, C++ header-only test framework for unit tests

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.12.2, Package name: catch2-2.12.2, Maintainer: bsiegert

Catch2 is a multi-paradigm test framework for C++. It also supports
Objective-C (and maybe C). It is primarily distributed as a single header file,
although certain extensions may require additional headers.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 3244a6cd2d63498c3dd1f46c6326a6fac5ab110a
RMD160: 628a59916f8b376bc3fc13b3dc0569a7f640d3a2
Filesize: 626.868 KB

Version history: (Expand)


CVS history: (Expand)


   2020-06-19 12:32:44 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
catch2: update to 2.12.2.

## 2.12.2

### Fixes
* Fixed compilation failure if `is_range` ADL found deleted function (#1929)
* Fixed potential UB in `CAPTURE` if the expression contained non-ASCII \ 
characters (#1925)

### Improvements
* `std::result_of` is not used if `std::invoke_result` is available (#1934)
* JUnit reporter writes out `status` attribute for tests (#1899)
* Suppresed clang-tidy's `hicpp-vararg` warning (#1921)
  * Catch2 was already suppressing the `cppcoreguidelines-pro-type-vararg` alias \ 
of the warning
   2020-04-28 19:31:59 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
catch2: update to 2.12.1.

## 2.12.1

### Fixes
* Vector matchers now support initializer list literals better

### Improvements
* Added support for `^` (bitwise xor) to `CHECK` and `REQUIRE`

## 2.12.0

### Improvements
* Running tests in random order (`--order rand`) has been reworked significantly \ 
(#1908)
  * Given same seed, all platforms now produce the same order
  * Given same seed, the relative order of tests does not change if you select \ 
only a subset of them
* Vector matchers support custom allocators (#1909)
* `|` and `&` (bitwise or and bitwise and) are now supported in `CHECK` and \ 
`REQUIRE`
  * The resulting type must be convertible to `bool`

### Fixes
* Fixed computation of benchmarking column widths in ConsoleReporter (#1885, #1886)
* Suppressed clang-tidy's `cppcoreguidelines-pro-type-vararg` in assertions (#1901)
  * It was a false positive trigered by the new warning support workaround
* Fixed bug in test specification parser handling of OR'd patterns using \ 
escaping (#1905)

### Miscellaneous
* Worked around IBM XL's codegen bug (#1907)
  * It would emit code for _destructors_ of temporaries in an unevaluated context
* Improved detection of stdlib's support for `std::uncaught_exceptions` (#1911)
   2020-03-22 18:55:28 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
catch2: update to 2.11.3.

## 2.11.3

### Fixes
* Fixed compilation error caused by lambdas in assertions under MSVC

## 2.11.2

### Improvements
* GCC and Clang now issue warnings for suspicious code in assertions (#1880)
  * E.g. `REQUIRE( int != unsigned int )` will now issue mixed signedness \ 
comparison warning
  * This has always worked on MSVC, but it now also works for GCC and current \ 
Clang versions
* Colorization of "Test filters" output should be more robust now
* `--wait-for-keypress` now also accepts `never` as an option (#1866)
* Reporters no longer round-off nanoseconds when reporting benchmarking results \ 
(#1876)
* Catch2's debug break now supports iOS while using Thumb instruction set (#1862)
* It is now possible to customize benchmark's warm-up time when running the test \ 
binary (#1844)
  * `--benchmark-warmup-time {ms}`
* User can now specify how Catch2 should break into debugger (#1846)

### Fixes
* Fixes missing `<random>` include in benchmarking (#1831)
* Fixed missing `<iterator>` include in benchmarking (#1874)
* Hidden test cases are now also tagged with `[!hide]` as per documentation (#1847)
* Detection of whether libc provides `std::nextafter` has been improved (#1854)
* Detection of `wmain` no longer incorrectly looks for `WIN32` macro (#1849)
  * Now it just detects Windows platform
* Composing already-composed matchers no longer modifies the partially-composed \ 
matcher expression
  * This bug has been present for the last ~2 years and nobody reported it
   2020-02-03 13:35:13 by Benny Siegert | Files touched by this commit (5)
Log message:
New package for Catch2, the successor to devel/catch.

Catch2 is a multi-paradigm test framework for C++. It also supports
Objective-C (and maybe C). It is primarily distributed as a single header file,
although certain extensions may require additional headers.