<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_test_case_registry_impl.cpp, 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>Rename include/ to src/</title>
<updated>2019-11-30T11:17:16+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-11-30T11:17:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=8e56b8b0ec8b05f1bb75ae7bc44f15548af69bd6'/>
<id>8e56b8b0ec8b05f1bb75ae7bc44f15548af69bd6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Store tags in one big pre-allocated string and only work with refs</title>
<updated>2019-11-14T09:53:12+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-11-07T11:39:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d36c15c3caf96c2e751f4ad83a386c1fd047c2f6'/>
<id>d36c15c3caf96c2e751f4ad83a386c1fd047c2f6</id>
<content type='text'>
This should decrease the number of allocations before main is entered
significantly, but complicates the code somewhat in return.

Assuming I used `massif` right, doing just `SelfTest --list-tests`
went from 929 allocations at "Remove gcc-4.9 from the travis builds"
(2 commits up), to 614 allocations with this commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should decrease the number of allocations before main is entered
significantly, but complicates the code somewhat in return.

Assuming I used `massif` right, doing just `SelfTest --list-tests`
went from 929 allocations at "Remove gcc-4.9 from the travis builds"
(2 commits up), to 614 allocations with this commit.
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not copy around TestCaseInfo</title>
<updated>2019-11-14T09:52:34+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-11-04T20:35:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=302e2c0b06f131199b97ad33bdebacc359782ff0'/>
<id>302e2c0b06f131199b97ad33bdebacc359782ff0</id>
<content type='text'>
Now a `TEST_CASE` macro should create a single TestCaseInfo and then
it should never be copied around. This, together with latter changes,
should significantly decrease the number of allocations made before
`main` is even entered.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now a `TEST_CASE` macro should create a single TestCaseInfo and then
it should never be copied around. This, together with latter changes,
should significantly decrease the number of allocations made before
`main` is even entered.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change how and when anonymous test cases are named</title>
<updated>2019-11-04T12:45:39+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-11-04T12:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e6b9b854b57580e8a500c0b1c5ab4914ada5a570'/>
<id>e6b9b854b57580e8a500c0b1c5ab4914ada5a570</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce Catch's own RNG based on the PCG family of RNGs</title>
<updated>2019-10-07T17:56:23+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-06T19:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=535da5c5132bcbba6f29c60ed6bb7ded29b9ec3e'/>
<id>535da5c5132bcbba6f29c60ed6bb7ded29b9ec3e</id>
<content type='text'>
In the future, we will also want to introduce our own
`uniform_int_distribution` and `uniform_real_distribution` to get
repeatable test runs across different platforms.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the future, we will also want to introduce our own
`uniform_int_distribution` and `uniform_real_distribution` to get
repeatable test runs across different platforms.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make StringRef's operator std::string explicit</title>
<updated>2019-09-08T13:58:10+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-09-08T12:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7b865daccc7bba2dcc25a4f0b9ea7348b1b4d61f'/>
<id>7b865daccc7bba2dcc25a4f0b9ea7348b1b4d61f</id>
<content type='text'>
This way it is explicit when there is a `StringRef` -&gt; `std::string`
conversion and makes it easier to look for allocations that could
be avoided.

Doing this has already removed one allocation per registered test
case, as there was a completely pointless `StringRef` -&gt; `std::string`
conversion when parsing tags of a test case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way it is explicit when there is a `StringRef` -&gt; `std::string`
conversion and makes it easier to look for allocations that could
be avoided.

Doing this has already removed one allocation per registered test
case, as there was a completely pointless `StringRef` -&gt; `std::string`
conversion when parsing tags of a test case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve reporting of unmatched filters (#1684)</title>
<updated>2019-08-06T18:51:19+00:00</updated>
<author>
<name>Steven Franzen</name>
</author>
<published>2019-08-06T18:51:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=6070745cab45a0f2284c56d5e2a1eed444447f88'/>
<id>6070745cab45a0f2284c56d5e2a1eed444447f88</id>
<content type='text'>
This PR ultimately does 3 things
* Separately tracks matched tests per each filter part (that is, a set of filters separated by an OR (`,`)), which allows Catch2 to report each of the alternative filters that don't match any tests.
* Fixes `-w NoTests` to return non-zero in the process
* Adds tests for `-w NoTests`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR ultimately does 3 things
* Separately tracks matched tests per each filter part (that is, a set of filters separated by an OR (`,`)), which allows Catch2 to report each of the alternative filters that don't match any tests.
* Fixes `-w NoTests` to return non-zero in the process
* Adds tests for `-w NoTests`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid adding a default test spec when none was provided</title>
<updated>2019-04-09T09:50:59+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-04-09T09:50:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e99f1efd2899441429da55ba717b8abd20c2b53b'/>
<id>e99f1efd2899441429da55ba717b8abd20c2b53b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replaced use of std::rand with std::mt19937</title>
<updated>2018-06-15T13:35:47+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2018-06-15T13:35:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=35a57b070fd4db56759dc3ecb8156f40841111a3'/>
<id>35a57b070fd4db56759dc3ecb8156f40841111a3</id>
<content type='text'>
This uses a global instance of the RNG
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This uses a global instance of the RNG
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup for performance reasons</title>
<updated>2018-03-02T15:24:35+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-03-02T15:22:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d2ddb997a74f698e10ac3debbfc48b3722caf3eb'/>
<id>d2ddb997a74f698e10ac3debbfc48b3722caf3eb</id>
<content type='text'>
* Eliminated some copies
* Made makeTestCase fit into 4 arguments -- avoids spills on Win64
* Made string literals into StringRef literals
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Eliminated some copies
* Made makeTestCase fit into 4 arguments -- avoids spills on Win64
* Made string literals into StringRef literals
</pre>
</div>
</content>
</entry>
</feed>
