<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3, branch v2.13.4</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>v2.13.4</title>
<updated>2020-12-29T14:03:40+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-12-29T14:03:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=de6fe184a9ac1a06895cdd1c9b437f0a0bdf14ad'/>
<id>de6fe184a9ac1a06895cdd1c9b437f0a0bdf14ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix updateVersionPlaceholder when the placeholder starts the line</title>
<updated>2020-12-29T14:02:25+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-12-29T14:02:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=fe3dddcc6d41e6449a92aeaaee5fc18497fce53c'/>
<id>fe3dddcc6d41e6449a92aeaaee5fc18497fce53c</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>2020-12-21T12:15:36+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=18ab353e5580d5d2558bacab5a68d7f6f40c8a79'/>
<id>18ab353e5580d5d2558bacab5a68d7f6f40c8a79</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>2020-12-17T17:50:04+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=2375a7f5b7a05d44dad4c339d2ec0a01bd51b835'/>
<id>2375a7f5b7a05d44dad4c339d2ec0a01bd51b835</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>
<entry>
<title>Fix conan package build</title>
<updated>2020-11-26T14:05:58+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-11-24T22:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=fac517d571d3bc8877986cfcb691716d731512e8'/>
<id>fac517d571d3bc8877986cfcb691716d731512e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add bazel support</title>
<updated>2020-11-18T20:37:12+00:00</updated>
<author>
<name>Florian Berchtold</name>
</author>
<published>2020-09-21T10:51:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=578f8b80068d5cb578e271e4ccb01a59117a9733'/>
<id>578f8b80068d5cb578e271e4ccb01a59117a9733</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the static library Catch2WithMain</title>
<updated>2020-11-18T20:37:10+00:00</updated>
<author>
<name>Deniz Evrenci</name>
</author>
<published>2019-07-26T07:34:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=92f8b01dfa24866ce1669c4c1df892a05e13a574'/>
<id>92f8b01dfa24866ce1669c4c1df892a05e13a574</id>
<content type='text'>
It should provide a shared impl for all targets that need to link
against Catch2's implementation. However, due to limitations of
C++ linking and Catch2's v2 implementation, this is only experimental
and might not work under some circumstances.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It should provide a shared impl for all targets that need to link
against Catch2's implementation. However, due to limitations of
C++ linking and Catch2's v2 implementation, this is only experimental
and might not work under some circumstances.
</pre>
</div>
</content>
</entry>
<entry>
<title>Small cleanups for the reworked test case order hashing</title>
<updated>2020-11-17T20:08:33+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-11-17T20:08:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=dc7e705672ba29a57dcff53ab1ad7be51e7b6e33'/>
<id>dc7e705672ba29a57dcff53ab1ad7be51e7b6e33</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Modified hash to make it more independent of the choice of test names.</title>
<updated>2020-11-17T19:58:16+00:00</updated>
<author>
<name>Sergio Losilla</name>
</author>
<published>2020-11-17T09:16:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3ba745552bd26cbbb7c271720c0ec9eaaf1dc8dd'/>
<id>3ba745552bd26cbbb7c271720c0ec9eaaf1dc8dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>v2.13.3</title>
<updated>2020-10-31T17:21:23+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-10-31T17:21:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ff349a50bfc6214b4081f4ca63c7de35e2162f60'/>
<id>ff349a50bfc6214b4081f4ca63c7de35e2162f60</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
