<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/projects/SelfTest, branch v2.13.10</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 comma-subscript warning suppression to only target GCC 10.1+</title>
<updated>2022-06-05T23:04:12+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-06-05T23:04:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=20d413b8b6803c6d456874935d7014fe684e9426'/>
<id>20d413b8b6803c6d456874935d7014fe684e9426</id>
<content type='text'>
Fixes #2416
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2416
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix clang analyzer warning about FilterGenerator</title>
<updated>2021-11-24T10:30:03+00:00</updated>
<author>
<name>Xo Wang</name>
</author>
<published>2021-10-27T19:10:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=33794a204c00158b15eeda38bd2e30a5a57533fc'/>
<id>33794a204c00158b15eeda38bd2e30a5a57533fc</id>
<content type='text'>
Refactor FilterGenerator to remove ctor call to overridden method next()
in order to address clang static analyzer diagnostic:

catch2-src/single_include/catch2/catch.hpp:4166:42: note: Call to virtual method 'FilterGenerator::next' during construction bypasses virtual dispatch
                auto has_initial_value = next();
                                         ^~~~~~
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactor FilterGenerator to remove ctor call to overridden method next()
in order to address clang static analyzer diagnostic:

catch2-src/single_include/catch2/catch.hpp:4166:42: note: Call to virtual method 'FilterGenerator::next' during construction bypasses virtual dispatch
                auto has_initial_value = next();
                                         ^~~~~~
</pre>
</div>
</content>
</entry>
<entry>
<title>Add broken test</title>
<updated>2021-11-24T10:30:03+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-10-28T09:20:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f45dac8fc1827f3566079c2728f9fcd7f86e0716'/>
<id>f45dac8fc1827f3566079c2728f9fcd7f86e0716</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #2272: Compilation failure with C++20 (#2297)</title>
<updated>2021-10-04T19:11:03+00:00</updated>
<author>
<name>Alecto Irene Perez</name>
</author>
<published>2021-10-04T19:11:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=dba29b60d639bf8d206a9a12c223e6ed4284fb13'/>
<id>dba29b60d639bf8d206a9a12c223e6ed4284fb13</id>
<content type='text'>
* Suppressed warning for comma-in-indexing-operator in tests that check
  that specific behaviour.
* Made deprecated (and removed) allocator usings conditional on the tests
  being compiled with old version of MSVC that still requires them.

Fixes #2272
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Suppressed warning for comma-in-indexing-operator in tests that check
  that specific behaviour.
* Made deprecated (and removed) allocator usings conditional on the tests
  being compiled with old version of MSVC that still requires them.

Fixes #2272
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport changes from 7bea1e2ac36ac54b648ae5c9d381a59bc69db912 to fix #2273 for 2.x</title>
<updated>2021-09-18T19:24:03+00:00</updated>
<author>
<name>Rupert Nash</name>
</author>
<published>2021-09-17T10:03:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3d01f3ae3279b806739936f0ffd44598bf20245c'/>
<id>3d01f3ae3279b806739936f0ffd44598bf20245c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark !mayfail tests as skipped in the JUnit reporter</title>
<updated>2021-07-27T21:16:01+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-06-07T17:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=eea3e9a5b5b0a405369961eb6601a56512a87ce8'/>
<id>eea3e9a5b5b0a405369961eb6601a56512a87ce8</id>
<content type='text'>
Should fix #2116
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should fix #2116
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compiling v2.x with C++17 + Clang 5 + libstdc++ v5</title>
<updated>2021-05-25T21:50:45+00:00</updated>
<author>
<name>Dimitrij Mijoski</name>
</author>
<published>2021-03-26T12:04:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=531a149ae70dd4143ba1ac28e33d40ab612d3897'/>
<id>531a149ae70dd4143ba1ac28e33d40ab612d3897</id>
<content type='text'>
This basically tests the combination where the compiler supports most
of C++17 but the library does not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This basically tests the combination where the compiler supports most
of C++17 but the library does not.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix potential infinite loops in generators combined with section filter</title>
<updated>2020-10-31T17:04:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-10-22T12:20:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=765ac08f0811f3a9d2cd6d3bdaa6cbe457457adc'/>
<id>765ac08f0811f3a9d2cd6d3bdaa6cbe457457adc</id>
<content type='text'>
The problem was that under specific circumstances, namely that none
of their children progressed, `GeneratorTracker` will not progress.
This was changed recently, to allow for code like this, where a
`SECTION` follows a `GENERATE` at the same level:

```cpp
SECTION("A") {}
auto a = GENERATE(1, 2);
SECTION("B") {}
```

However, this interacted badly with `SECTION` filters (`-c foo`),
as they could deactivate all `SECTION`s below a generator, and thus
stop it from progressing forever. This commit makes GeneratorTracker
check whether there are any filters active, and if they are, it checks
whether its section-children can ever run.

Fixes #2025
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem was that under specific circumstances, namely that none
of their children progressed, `GeneratorTracker` will not progress.
This was changed recently, to allow for code like this, where a
`SECTION` follows a `GENERATE` at the same level:

```cpp
SECTION("A") {}
auto a = GENERATE(1, 2);
SECTION("B") {}
```

However, this interacted badly with `SECTION` filters (`-c foo`),
as they could deactivate all `SECTION`s below a generator, and thus
stop it from progressing forever. This commit makes GeneratorTracker
check whether there are any filters active, and if they are, it checks
whether its section-children can ever run.

Fixes #2025
</pre>
</div>
</content>
</entry>
<entry>
<title>Support sentinel-based ranges in default stringify (#2004)</title>
<updated>2020-08-18T08:34:47+00:00</updated>
<author>
<name>Sean Middleditch</name>
</author>
<published>2020-08-18T08:34:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=284672cc84f3fd53332618d1654d95bc4254ff3f'/>
<id>284672cc84f3fd53332618d1654d95bc4254ff3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify generator tracking to allow GENERATEs between SECTIONs</title>
<updated>2020-07-11T21:16:07+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-07-04T15:45:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=b79a83e4aa6641a00c32b760456507b1745fc06e'/>
<id>b79a83e4aa6641a00c32b760456507b1745fc06e</id>
<content type='text'>
This means that code such as

```cpp
TEST_CASE() {
    SECTION("first") { SUCCEED(); }
    auto _ = GENERATE(1, 2);
    SECTION("second") { SUCCEED(); }
}
```

will run and report 3 assertions, 1 from section "first" and 2
from section "second". This also applies for greater and potentially
more confusing nesting, but fundamentally it is up to the user to
avoid overly complex and confusing nestings, just as with `SECTION`s.

The old behaviour of `GENERATE` as first thing in a `TEST_CASE`,
`GENERATE` not followed by a `SECTION`, etc etc should be unchanged.

Closes #1938
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This means that code such as

```cpp
TEST_CASE() {
    SECTION("first") { SUCCEED(); }
    auto _ = GENERATE(1, 2);
    SECTION("second") { SUCCEED(); }
}
```

will run and report 3 assertions, 1 from section "first" and 2
from section "second". This also applies for greater and potentially
more confusing nesting, but fundamentally it is up to the user to
avoid overly complex and confusing nestings, just as with `SECTION`s.

The old behaviour of `GENERATE` as first thing in a `TEST_CASE`,
`GENERATE` not followed by a `SECTION`, etc etc should be unchanged.

Closes #1938
</pre>
</div>
</content>
</entry>
</feed>
