<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/projects/SelfTest/UsageTests/Generators.tests.cpp, branch v2.x</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 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>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>
<entry>
<title>Improved generator tracking</title>
<updated>2020-06-01T17:06:51+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-06-01T17:04:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=9500ded83b66ea02472833684135ab8573da5e2d'/>
<id>9500ded83b66ea02472833684135ab8573da5e2d</id>
<content type='text'>
* Successive executions of the same `GENERATE` macro (e.g. because
of a for loop) no longer lead to multiple nested generators.
* The same line can now contain multiple `GENERATE` macros without
issues.

Fixes #1913
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Successive executions of the same `GENERATE` macro (e.g. because
of a for loop) no longer lead to multiple nested generators.
* The same line can now contain multiple `GENERATE` macros without
issues.

Fixes #1913
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a from_range(Container) overload to the generator helpers</title>
<updated>2019-10-09T12:51:36+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-09T12:51:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c8db4e77c4c9aa20776db162e982f1af693ab8fe'/>
<id>c8db4e77c4c9aa20776db162e982f1af693ab8fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a generator that takes an iterator pair</title>
<updated>2019-10-06T11:55:10+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-06T11:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=319cb9e1daec5076ff1a3acd10b959c2bce05c5b'/>
<id>319cb9e1daec5076ff1a3acd10b959c2bce05c5b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Actually run the random generator tests</title>
<updated>2019-08-09T09:21:05+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-08-09T09:21:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e2d863b090f54b648147df1ffd084babc94a5e99'/>
<id>e2d863b090f54b648147df1ffd084babc94a5e99</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ChunkGenerator with chunk-size 0</title>
<updated>2019-06-29T13:48:30+00:00</updated>
<author>
<name>David Sommerich</name>
</author>
<published>2019-06-29T13:48:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=9cf5897a11154bab4d561c80ab66ef33ecc91838'/>
<id>9cf5897a11154bab4d561c80ab66ef33ecc91838</id>
<content type='text'>
Fixes #1671
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1671
</pre>
</div>
</content>
</entry>
<entry>
<title>Add GENERATE_COPY and GENERATE_VAR capturing generator macros</title>
<updated>2019-03-31T12:11:10+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-03-31T12:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3816e99d0c74882eeaaf30ebb48a07a9418f295c'/>
<id>3816e99d0c74882eeaaf30ebb48a07a9418f295c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Deducing return type of map generator helper (#1576)</title>
<updated>2019-03-24T14:44:22+00:00</updated>
<author>
<name>Omer Ozarslan</name>
</author>
<published>2019-03-24T14:44:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=54089c4c8c657ffb13d8f3a1425403335af5ba4d'/>
<id>54089c4c8c657ffb13d8f3a1425403335af5ba4d</id>
<content type='text'>
* Deduce map return type implicitly

Giving the first template argument to map generator function to deduce
return type is now optional even if the return type is different from
the type generated by mapped generator.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Deduce map return type implicitly

Giving the first template argument to map generator function to deduce
return type is now optional even if the return type is different from
the type generated by mapped generator.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add another test for FilterGenerator</title>
<updated>2019-02-23T19:37:35+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-02-23T19:37:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ef5fd8d42f1f61ee3bd5eb1595f517c34bb2b038'/>
<id>ef5fd8d42f1f61ee3bd5eb1595f517c34bb2b038</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
