<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/extras, branch v3.1.0</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>v3.1.0</title>
<updated>2022-07-17T18:18:44+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-07-17T18:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=97c48e0c343d26d50764fafdc90b1e630fbd10ce'/>
<id>97c48e0c343d26d50764fafdc90b1e630fbd10ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added new DL_PATHS option to catch_discover_tests() (#2467)</title>
<updated>2022-07-11T16:31:32+00:00</updated>
<author>
<name>mheimlich</name>
</author>
<published>2022-07-11T16:31:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a63ad7455471dfa67275b866774f5fd0feb1cb81'/>
<id>a63ad7455471dfa67275b866774f5fd0feb1cb81</id>
<content type='text'>
This enables setting the required PATH/LD_LIBRARY_PATH environment variables both when retrieving the list of text cases and when executing the tests.

Co-authored-by: Martin Hořeňovský &lt;martin.horenovsky@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This enables setting the required PATH/LD_LIBRARY_PATH environment variables both when retrieving the list of text cases and when executing the tests.

Co-authored-by: Martin Hořeňovský &lt;martin.horenovsky@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add experimental CMake script for sharding tests in binaries</title>
<updated>2022-06-24T12:12:55+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-06-24T12:12:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=34d9724058e02c6447fd7fa2a8e4ff7db0d50588'/>
<id>34d9724058e02c6447fd7fa2a8e4ff7db0d50588</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>v3.0.1</title>
<updated>2022-05-17T20:13:36+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-05-17T20:13:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=605a34765aa5d5ecbf476b4598a862ada971b0cc'/>
<id>605a34765aa5d5ecbf476b4598a862ada971b0cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version to v3.0.0 preview 5</title>
<updated>2022-04-20T21:46:07+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-04-20T21:46:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f526ff0fc37ae00ff2c0dc8f6550bf8209c30afc'/>
<id>f526ff0fc37ae00ff2c0dc8f6550bf8209c30afc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump version to v3.0.0 preview 4</title>
<updated>2022-01-03T22:16:39+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-01-03T22:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f4af9f69265d009a457aa99d1075cfba78652a66'/>
<id>f4af9f69265d009a457aa99d1075cfba78652a66</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use make_unique instead of unique_ptr(new T)</title>
<updated>2021-05-31T22:17:22+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-05-28T21:10:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e6da4e10aeee70556f9cea23e71f8eea6151b3d9'/>
<id>e6da4e10aeee70556f9cea23e71f8eea6151b3d9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make operator BenchmarkStats&lt;Duration2&gt; explicit</title>
<updated>2021-05-28T21:19:07+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-05-28T21:19:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f9ec34ce016ad5b12afc22251b254e93ad7fd038'/>
<id>f9ec34ce016ad5b12afc22251b254e93ad7fd038</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add deprecation warning in ParseAndCatchTests</title>
<updated>2021-05-09T16:05:25+00:00</updated>
<author>
<name>Reinhold Gschweicher</name>
</author>
<published>2020-12-17T13:02:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=48f220b68a7ce43846be19ec6db46ede5e5e5ae2'/>
<id>48f220b68a7ce43846be19ec6db46ede5e5e5ae2</id>
<content type='text'>
Parsing C++ with regex in CMake is error prone and regularly leads to silently
dropped (not run) test cases.

Going forward the function `catch_discover_tests` from `contrib/CMake.cmake`
should be used.

For more information see https://github.com/catchorg/Catch2/issues/2092#issuecomment-747342765
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Parsing C++ with regex in CMake is error prone and regularly leads to silently
dropped (not run) test cases.

Going forward the function `catch_discover_tests` from `contrib/CMake.cmake`
should be used.

For more information see https://github.com/catchorg/Catch2/issues/2092#issuecomment-747342765
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Catch.cmake helper by setting variable globally</title>
<updated>2021-05-09T16:05:18+00:00</updated>
<author>
<name>Reinhold Gschweicher</name>
</author>
<published>2020-12-17T09:28:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=031a57e7b719dce26119ac8547f167190234a763'/>
<id>031a57e7b719dce26119ac8547f167190234a763</id>
<content type='text'>
Set `_CATCH_DISCOVER_TESTS_SCRIPT` helper variable globally. Otherwise in a
scoped call (like `add_subdirectory()`) the variable gets lost. This lost
variable results in a post build error with not much information to lead to the
root of the problem.

This enables the usage of the helper script with the following example structure

- CMakeLists.txt (project root with `add_subdirectory(external/catch2)`
- external/catch2
  - CMakeLists.txt (contents listed below)
  - contrib/Catch.cmake
  - contrib/CatchAddTests.cmake
  - catch2/catch.hpp
- tests
  - CMakeLists.txt (add tests with `catch_discover_tests(${PROJECT_NAME})`)

contents of project specific helper `external/catch2/CMakeLists.txt`
```cmake
cmake_minimum_required (VERSION 3.1...${CMAKE_VERSION})
project(Catch2 LANGUAGES CXX VERSION 2.13.3)
add_library(Catch2 INTERFACE)
target_include_directories(Catch2
  INTERFACE
    $&lt;BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}&gt;
)
 # provide a namespaced alias for clients to 'link' against if catch is included as a sub-project
add_library(Catch2::Catch2 ALIAS Catch2)
include(contrib/Catch.cmake)
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set `_CATCH_DISCOVER_TESTS_SCRIPT` helper variable globally. Otherwise in a
scoped call (like `add_subdirectory()`) the variable gets lost. This lost
variable results in a post build error with not much information to lead to the
root of the problem.

This enables the usage of the helper script with the following example structure

- CMakeLists.txt (project root with `add_subdirectory(external/catch2)`
- external/catch2
  - CMakeLists.txt (contents listed below)
  - contrib/Catch.cmake
  - contrib/CatchAddTests.cmake
  - catch2/catch.hpp
- tests
  - CMakeLists.txt (add tests with `catch_discover_tests(${PROJECT_NAME})`)

contents of project specific helper `external/catch2/CMakeLists.txt`
```cmake
cmake_minimum_required (VERSION 3.1...${CMAKE_VERSION})
project(Catch2 LANGUAGES CXX VERSION 2.13.3)
add_library(Catch2 INTERFACE)
target_include_directories(Catch2
  INTERFACE
    $&lt;BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}&gt;
)
 # provide a namespaced alias for clients to 'link' against if catch is included as a sub-project
add_library(Catch2::Catch2 ALIAS Catch2)
include(contrib/Catch.cmake)
```
</pre>
</div>
</content>
</entry>
</feed>
