<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_test_spec.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>Hidden tests now require positive filter match to be selected</title>
<updated>2019-10-29T13:07:18+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-06-22T18:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=4f47d1c6c1bf21e047fc4dd8a946740a2da2f673'/>
<id>4f47d1c6c1bf21e047fc4dd8a946740a2da2f673</id>
<content type='text'>
This also required some refactoring of how the pattern matching
works. This means that the concepts of include and exclude patterns
are no longer unified, with exclusion patterns working as just
negation of an inclusion patterns (which led to including hidden
tags by default, as they did not match the exclusion), but rather
both include and exclude patterns are handled separately.

The new logic is that given a filter and a test case, the test
case must match _all_ include patterns and _no_ exclude patterns
to be included by the filter. Furthermore, if the test case is
hidden, then the filter must have at least one include pattern
for the test case to be used.

Closes #1184
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This also required some refactoring of how the pattern matching
works. This means that the concepts of include and exclude patterns
are no longer unified, with exclusion patterns working as just
negation of an inclusion patterns (which led to including hidden
tags by default, as they did not match the exclusion), but rather
both include and exclude patterns are handled separately.

The new logic is that given a filter and a test case, the test
case must match _all_ include patterns and _no_ exclude patterns
to be included by the filter. Furthermore, if the test case is
hidden, then the filter must have at least one include pattern
for the test case to be used.

Closes #1184
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes #1766: Catch terminates when parsing invalid test name</title>
<updated>2019-10-19T19:14:06+00:00</updated>
<author>
<name>amitherman95</name>
</author>
<published>2019-10-19T13:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=84856844e17f78e9f3a9f113df9d3ff23aad69e1'/>
<id>84856844e17f78e9f3a9f113df9d3ff23aad69e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore leading/trailing whitespace in test/section specs</title>
<updated>2019-09-09T12:28:11+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-09-09T09:30:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=af8b2538a62db34b3cec10ceb74e3d29bd06e37f'/>
<id>af8b2538a62db34b3cec10ceb74e3d29bd06e37f</id>
<content type='text'>
The leading/trailing whitespace is problematic because of e.g.
`WHEN` macro having preceeding whitespace for alignment, and it is
generally messy.

Credits to Phil who did lot of the original work.

Closes #1708
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The leading/trailing whitespace is problematic because of e.g.
`WHEN` macro having preceeding whitespace for alignment, and it is
generally messy.

Credits to Phil who did lot of the original work.

Closes #1708
</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>Sweep out some extra warnings</title>
<updated>2017-09-07T15:25:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-09-07T14:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=9aa96712aec495d5a0d580f773c292803cc662aa'/>
<id>9aa96712aec495d5a0d580f773c292803cc662aa</id>
<content type='text'>
Swept:
`-Wpadded` in some places (where it caused extra size, instead of just
saying "hey, we padded struct at the end to align, just as standard says")
`-Wweak-vtables` everywhere (Clang)
`-Wexit-time-destructors` everywhere (Clang)
`-Wmissing-noreturn` everywhere (Clang)

The last three are enabled for Clang compilation going forward.

Also enabled `-Wunreachable-code` for Clang and GCC
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Swept:
`-Wpadded` in some places (where it caused extra size, instead of just
saying "hey, we padded struct at the end to align, just as standard says")
`-Wweak-vtables` everywhere (Clang)
`-Wexit-time-destructors` everywhere (Clang)
`-Wmissing-noreturn` everywhere (Clang)

The last three are enabled for Clang compilation going forward.

Also enabled `-Wunreachable-code` for Clang and GCC
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed all .hpp extensions to .h where there is now a corresponding .cpp</title>
<updated>2017-09-07T10:24:33+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-09-07T10:24:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c5608f0202eb8ffd360e58db081fef248d675a6b'/>
<id>c5608f0202eb8ffd360e58db081fef248d675a6b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove &lt;set&gt; include from the common test path</title>
<updated>2017-07-27T20:31:27+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-07-27T20:31:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=287cc92b2ce605fd4ca7809667581d820f448330'/>
<id>287cc92b2ce605fd4ca7809667581d820f448330</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
