<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/extras/ParseAndAddCatchTests.cmake, branch constexpr_approx</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>Stop repeating conditional in endif()</title>
<updated>2024-03-12T21:55:12+00:00</updated>
<author>
<name>Chris Thrasher</name>
</author>
<published>2024-03-12T19:06:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=792c3b7549e67371e4ebc18c9c6b79dbc3c9fa07'/>
<id>792c3b7549e67371e4ebc18c9c6b79dbc3c9fa07</id>
<content type='text'>
This is not necessary so we can remove it. Most conditionals already
omit this anyways.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is not necessary so we can remove it. Most conditionals already
omit this anyways.
</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 typos in the code base (#2206)</title>
<updated>2021-04-07T18:43:50+00:00</updated>
<author>
<name>Julien Brianceau</name>
</author>
<published>2021-04-07T18:43:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e8cdfdca87ebacd993befdd08ea6aa7e8068ef3d'/>
<id>e8cdfdca87ebacd993befdd08ea6aa7e8068ef3d</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>Consider CMP0110 add_test() policy</title>
<updated>2020-11-02T13:42:22+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=74b397e6b8b174c4e9dcf01611584466bb7ffa88'/>
<id>74b397e6b8b174c4e9dcf01611584466bb7ffa88</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-11-02T13:42:19+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=730ec39a74c5f9a50d7a9f874bfe866212e0cabc'/>
<id>730ec39a74c5f9a50d7a9f874bfe866212e0cabc</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-11-02T13:42:17+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=71328bae905dd934ea3e47c8fd4d2f05a5a7cc98'/>
<id>71328bae905dd934ea3e47c8fd4d2f05a5a7cc98</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-10-08T09:37:11+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=1d01464730800d03b4b0d1f5de613a3f9c288273'/>
<id>1d01464730800d03b4b0d1f5de613a3f9c288273</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-09-07T11:00:55+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=2c1c02f7e7521ee28d2b931a42160915b4791049'/>
<id>2c1c02f7e7521ee28d2b931a42160915b4791049</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-26T13:15:50+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=95c0c88d84e61121d3f5a725584695d44ded13bc'/>
<id>95c0c88d84e61121d3f5a725584695d44ded13bc</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-05-01T07:30:31+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=8ea45bf50cc806527caff9d61c8923740beafa8e'/>
<id>8ea45bf50cc806527caff9d61c8923740beafa8e</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>
</feed>
