<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/projects/SelfTest/Baselines, 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>Move tests from projects/ to tests/</title>
<updated>2019-12-05T15:00:20+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-12-05T15:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0fea081ad1a678b379182930a3ec22a3e275dbf0'/>
<id>0fea081ad1a678b379182930a3ec22a3e275dbf0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor SectionInfo constructors</title>
<updated>2019-11-16T20:53:32+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-11-16T20:53:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c9067b2253bae5d40b08e755cd4532a63debe81b'/>
<id>c9067b2253bae5d40b08e755cd4532a63debe81b</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>Cleanup tests for C++20</title>
<updated>2019-11-04T12:08:10+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-11-04T09:42:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=eabb8a6af71e549928b598cdedfa323c35c3c527'/>
<id>eabb8a6af71e549928b598cdedfa323c35c3c527</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>Improve JUnit failure report</title>
<updated>2019-10-27T17:02:14+00:00</updated>
<author>
<name>Alexander Stein</name>
</author>
<published>2019-08-07T20:39:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2fbd66c51cbf3a406dc6bb8ddc6b9a0b96077a72'/>
<id>2fbd66c51cbf3a406dc6bb8ddc6b9a0b96077a72</id>
<content type='text'>
The JUnit report is improved in that:
* The message shows the testing condition, not the result
* The actual message has similar output than the console one
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The JUnit report is improved in that:
* The message shows the testing condition, not the result
* The actual message has similar output than the console one
</pre>
</div>
</content>
</entry>
<entry>
<title>Add SonarQube Generic Test Data reporter</title>
<updated>2019-10-27T09:02:41+00:00</updated>
<author>
<name>sp-dani-garcia</name>
</author>
<published>2019-08-29T15:47:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=51b29ced1ac2bde83d977283f6e0b4f871898b8a'/>
<id>51b29ced1ac2bde83d977283f6e0b4f871898b8a</id>
<content type='text'>
It outputs reports in the `Generic Execution Test Data` format, see
https://docs.sonarqube.org/latest/analysis/generic-test/, specifically
https://docs.sonarqube.org/latest/analysis/generic-test/#header-2

Close #1738 (this is a cherry-pick and fixup of that PR)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It outputs reports in the `Generic Execution Test Data` format, see
https://docs.sonarqube.org/latest/analysis/generic-test/, specifically
https://docs.sonarqube.org/latest/analysis/generic-test/#header-2

Close #1738 (this is a cherry-pick and fixup of that PR)
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable `range` generator for floating point types</title>
<updated>2019-10-26T18:52:09+00:00</updated>
<author>
<name>Manuel Drews</name>
</author>
<published>2019-10-16T14:03:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=4327baba400f6f8158c4d686135ba7fb6ba10d54'/>
<id>4327baba400f6f8158c4d686135ba7fb6ba10d54</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rework StringRef interface and internals</title>
<updated>2019-10-25T11:57:52+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-21T15:44:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=50cc14c94c972fc743afca92b22ad7bdc63c429a'/>
<id>50cc14c94c972fc743afca92b22ad7bdc63c429a</id>
<content type='text'>
Now it no longer tries to be this weird hybrid between an owning
and non-owning reference, and is only ever non-owning. This is also
reflected in its interface, for example `StringRef::isNullTerminated`
is now public, and `StringRef::c_str()` has the precondition that it
is true.

Overview of the changes:
* The `StringRef::m_data` member has been completely removed, as it
had no more uses.
* `StringRef::isSubstring()` has been made public and renamed to
`StringRef::isNullTerminated()`, so that the name reflects what the
method actually does.
* `StringRef::currentData()` has been renamed to `StringRef::data()`,
to be in line with common C++ containers and container-alikes.
* `StringRef::c_str()` will no longer silently make copies. It instead
has a precondition that `isNullTerminated()` is true.
* If the user needs a null-terminated string, they should use the
`std::string` conversion operator and call `c_str()` on the resulting
`std::string`.
* Some small optimizations in various places.
* Basic functionality is now `constexpr`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now it no longer tries to be this weird hybrid between an owning
and non-owning reference, and is only ever non-owning. This is also
reflected in its interface, for example `StringRef::isNullTerminated`
is now public, and `StringRef::c_str()` has the precondition that it
is true.

Overview of the changes:
* The `StringRef::m_data` member has been completely removed, as it
had no more uses.
* `StringRef::isSubstring()` has been made public and renamed to
`StringRef::isNullTerminated()`, so that the name reflects what the
method actually does.
* `StringRef::currentData()` has been renamed to `StringRef::data()`,
to be in line with common C++ containers and container-alikes.
* `StringRef::c_str()` will no longer silently make copies. It instead
has a precondition that `isNullTerminated()` is true.
* If the user needs a null-terminated string, they should use the
`std::string` conversion operator and call `c_str()` on the resulting
`std::string`.
* Some small optimizations in various places.
* Basic functionality is now `constexpr`.
</pre>
</div>
</content>
</entry>
</feed>
