<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/contrib/ParseAndAddCatchTests.cmake, branch v2.x</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>Fix typos in the code base</title>
<updated>2021-04-08T16:06:36+00:00</updated>
<author>
<name>Julien Brianceau</name>
</author>
<published>2021-04-07T21:02:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=269f96e2bc0fca840846fd3dc199c0540558e345'/>
<id>269f96e2bc0fca840846fd3dc199c0540558e345</id>
<content type='text'>
Note that only documentation and comments are impacted by this change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that only documentation and comments are impacted by this change.
</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>Consider CMP0110 add_test() policy</title>
<updated>2020-10-20T21:25:45+00:00</updated>
<author>
<name>Reinhold Gschweicher</name>
</author>
<published>2020-10-20T07:11:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=69297ceeb600897ba3c17c3c5d57c5605aa8abe2'/>
<id>69297ceeb600897ba3c17c3c5d57c5605aa8abe2</id>
<content type='text'>
CMake 3.19 introduces new add_test() behavior guarded with the policy
CMP0110.

See: https://cmake.org/cmake/help/latest/policy/CMP0110.html

Update the helper script ParseAndAddCatchTests to consider the policy and
handle the test case name accordingly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CMake 3.19 introduces new add_test() behavior guarded with the policy
CMP0110.

See: https://cmake.org/cmake/help/latest/policy/CMP0110.html

Update the helper script ParseAndAddCatchTests to consider the policy and
handle the test case name accordingly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix indentation in ParseAndAddCatchTests</title>
<updated>2020-10-20T11:48:46+00:00</updated>
<author>
<name>Reinhold Gschweicher</name>
</author>
<published>2020-10-20T09:24:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2d30df3500b917c2d662a6561948a8dba20a4c8b'/>
<id>2d30df3500b917c2d662a6561948a8dba20a4c8b</id>
<content type='text'>
Consistently use 4 spaces instead of tabs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Consistently use 4 spaces instead of tabs
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CMake regex to add tests</title>
<updated>2020-10-20T11:48:14+00:00</updated>
<author>
<name>Reinhold Gschweicher</name>
</author>
<published>2020-10-19T15:57:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=77b2a7daead5d6b08b564cb50d60d035f06e781a'/>
<id>77b2a7daead5d6b08b564cb50d60d035f06e781a</id>
<content type='text'>
Fix regex that requires two string arguments in the form of
TEST_CASE("a", "b") resulting in not finding TEST_CASE("a") entries.

See https://regex101.com/r/JygOND/1

Fixes: https://github.com/catchorg/Catch2/issues/2055
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix regex that requires two string arguments in the form of
TEST_CASE("a", "b") resulting in not finding TEST_CASE("a") entries.

See https://regex101.com/r/JygOND/1

Fixes: https://github.com/catchorg/Catch2/issues/2055
</pre>
</div>
</content>
</entry>
<entry>
<title>Support template test cases in ParseAndAddCatchTests</title>
<updated>2020-09-24T20:42:32+00:00</updated>
<author>
<name>Ansel Sermersheim</name>
</author>
<published>2020-09-23T16:13:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3e8800beb16aa5959569a20e80180686228e124c'/>
<id>3e8800beb16aa5959569a20e80180686228e124c</id>
<content type='text'>
* Change regex to allow parentheses inside the test macro for a type list
* Append a wildcard to the CTestName if the test case is a template
* Also change the regular expression so parentheses are allowed in names
  (fixes #1848)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Change regex to allow parentheses inside the test macro for a type list
* Append a wildcard to the CTestName if the test case is a template
* Also change the regular expression so parentheses are allowed in names
  (fixes #1848)
</pre>
</div>
</content>
</entry>
<entry>
<title>Update ParseAndAddCatchTests.cmake</title>
<updated>2020-08-01T17:40:29+00:00</updated>
<author>
<name>Karthik Nishanth</name>
</author>
<published>2020-07-31T06:24:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=de3a208e167c6baee6e8dc46f2c0466b311324c2'/>
<id>de3a208e167c6baee6e8dc46f2c0466b311324c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CMake add test helper for CMake 3.18.0</title>
<updated>2020-07-17T21:56:33+00:00</updated>
<author>
<name>Reinhold Gschweicher</name>
</author>
<published>2020-07-16T09:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=229cc4823c8cbe67366da8179efc6089dd3893e9'/>
<id>229cc4823c8cbe67366da8179efc6089dd3893e9</id>
<content type='text'>
With CMake 3.18.0 the `add_test(NAME)` handling changed. The escaped
double quotes confuse the new call. Work around this upstream change.

fixes: https://github.com/catchorg/Catch2/issues/1984
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With CMake 3.18.0 the `add_test(NAME)` handling changed. The escaped
double quotes confuse the new call. Work around this upstream change.

fixes: https://github.com/catchorg/Catch2/issues/1984
</pre>
</div>
</content>
</entry>
<entry>
<title>Change PARSE_CATCH_TESTS_ADD_FIXTURE_IN_TEST_NAME conditional.</title>
<updated>2020-03-27T08:55:06+00:00</updated>
<author>
<name>Invincible</name>
</author>
<published>2020-03-23T02:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=01bdfe3312613ffa91f5f99705a3615eefa51943'/>
<id>01bdfe3312613ffa91f5f99705a3615eefa51943</id>
<content type='text'>
When no TEST_CASE_METHOD function, there is no fixture to get.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When no TEST_CASE_METHOD function, there is no fixture to get.</pre>
</div>
</content>
</entry>
<entry>
<title>ParseAndAddCatchTests: Ignore cmake object libraries</title>
<updated>2019-04-14T17:10:15+00:00</updated>
<author>
<name>Martin Luelf</name>
</author>
<published>2019-04-14T15:39:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ac94bd05209d6dffb6aa7cb9750cfc45cbc4ac72'/>
<id>ac94bd05209d6dffb6aa7cb9750cfc45cbc4ac72</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
