<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/projects/SelfTest/UsageTests, branch v2.6.1</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>Add to string for std::optional</title>
<updated>2019-01-31T14:35:13+00:00</updated>
<author>
<name>Robin Moussu</name>
</author>
<published>2019-01-25T21:05:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=16dc2197046dd1362e26027e789f15d65275a185'/>
<id>16dc2197046dd1362e26027e789f15d65275a185</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add generic generator modifiers</title>
<updated>2019-01-31T09:43:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-01-27T22:50:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=5929d9530cd50c116398f486fea7324055cffe83'/>
<id>5929d9530cd50c116398f486fea7324055cffe83</id>
<content type='text'>
This means mutiple generic generators and some inference helper
* take(n, generator)
* filter(predicate, generator)
* map(func, generator)
* repeat(generator, repeats)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This means mutiple generic generators and some inference helper
* take(n, generator)
* filter(predicate, generator)
* map(func, generator)
* repeat(generator, repeats)
</pre>
</div>
</content>
</entry>
<entry>
<title>Redo generator interface</title>
<updated>2019-01-31T09:43:06+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-01-27T18:46:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e46a70f8291b6673f82b156b53ad5f5df8dc48a2'/>
<id>e46a70f8291b6673f82b156b53ad5f5df8dc48a2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused type from tests</title>
<updated>2019-01-26T23:03:11+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-01-26T23:03:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=61f4c7ab857e9143ca380bcd0b0552e2fa6e1d9d'/>
<id>61f4c7ab857e9143ca380bcd0b0552e2fa6e1d9d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix variant test for libstdc++ version 9 (#1515)</title>
<updated>2019-01-26T17:32:17+00:00</updated>
<author>
<name>Robin Moussu</name>
</author>
<published>2019-01-26T17:32:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a2baabbf712130f96c087a13fb80ff3c0c4fd9f0'/>
<id>a2baabbf712130f96c087a13fb80ff3c0c4fd9f0</id>
<content type='text'>
By using non-trivially copyable types, we force libstdc++-9's variant to
properly enter the valueless-by-exception state for our stringification
test.

Related to #1511
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By using non-trivially copyable types, we force libstdc++-9's variant to
properly enter the valueless-by-exception state for our stringification
test.

Related to #1511
</pre>
</div>
</content>
</entry>
<entry>
<title>Template tests: added TEMPLATE_PRODUCT_TEST_CASE</title>
<updated>2018-12-10T07:22:09+00:00</updated>
<author>
<name>Jozef Grajciar</name>
</author>
<published>2018-12-06T18:27:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=21a1cd56838c677acba467de512441cc146c6de3'/>
<id>21a1cd56838c677acba467de512441cc146c6de3</id>
<content type='text'>
support for generating test cases based on multiple template template
types combined with template arguments for each of the template template
types specified

e.g.
```
TEMPLATE_PRODUCT_TEST_CASE("template product","[template]",
			   (std::tuple, std::pair, std::map),
			   ((int,float),(char,double),(int,char)))
```
will effectively create 9 test cases with types:
std::tuple&lt;int,float&gt;
std::tuple&lt;char,double&gt;
std::tuple&lt;int,char&gt;
std::pair&lt;int,float&gt;
std::pair&lt;char, double&gt;
std::pair&lt;int,char&gt;
std::map&lt;int,float&gt;
std::map&lt;char,double&gt;
std::map&lt;int,char&gt;

Tested type is accessible in test case body as TestType
Unique name is created by appending ` - &lt;index&gt;` to test name
since preprocessor has some limitations in recursions

Closes #1454
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
support for generating test cases based on multiple template template
types combined with template arguments for each of the template template
types specified

e.g.
```
TEMPLATE_PRODUCT_TEST_CASE("template product","[template]",
			   (std::tuple, std::pair, std::map),
			   ((int,float),(char,double),(int,char)))
```
will effectively create 9 test cases with types:
std::tuple&lt;int,float&gt;
std::tuple&lt;char,double&gt;
std::tuple&lt;int,char&gt;
std::pair&lt;int,float&gt;
std::pair&lt;char, double&gt;
std::pair&lt;int,char&gt;
std::map&lt;int,float&gt;
std::map&lt;char,double&gt;
std::map&lt;int,char&gt;

Tested type is accessible in test case body as TestType
Unique name is created by appending ` - &lt;index&gt;` to test name
since preprocessor has some limitations in recursions

Closes #1454
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CAPTURE macro for nontrivial uses</title>
<updated>2018-11-21T15:48:09+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-11-19T22:06:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=59087f74d9ee8ed956d3df09b044c502b71862fd'/>
<id>59087f74d9ee8ed956d3df09b044c502b71862fd</id>
<content type='text'>
The previous implemetation was just plain broken for most of
possible uses, the new one should work (even though it is ugly
as all hell, and should be improved ASAP).

Fixes #1436
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous implemetation was just plain broken for most of
possible uses, the new one should work (even though it is ugly
as all hell, and should be improved ASAP).

Fixes #1436
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for templated tests</title>
<updated>2018-11-16T20:21:23+00:00</updated>
<author>
<name>Jozef Grajciar</name>
</author>
<published>2018-11-08T06:26:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2d906a92cb82fe65e3cafab6495c0fd12a0ab0ab'/>
<id>2d906a92cb82fe65e3cafab6495c0fd12a0ab0ab</id>
<content type='text'>
This adds support for templated tests and test methods via
`TEMPLATE_TEST_CASE` and `TEMPLATE_TEST_CASE_METHOD` macros. These
work mostly just like their regular counterparts*, but take an
unlimited** number of types as their last arguments.

* Unlike the plain `TEST_CASE*` macros, the `TEMPLATE*` variants
require a tag string.

** In practice there is limit of about 300 types.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds support for templated tests and test methods via
`TEMPLATE_TEST_CASE` and `TEMPLATE_TEST_CASE_METHOD` macros. These
work mostly just like their regular counterparts*, but take an
unlimited** number of types as their last arguments.

* Unlike the plain `TEST_CASE*` macros, the `TEMPLATE*` variants
require a tag string.

** In practice there is limit of about 300 types.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused partial specialization for MatcherMethod&lt;T&gt;</title>
<updated>2018-11-03T23:00:36+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-11-03T23:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d0eb9dfb9b95b97d31656acd13bb9cfb445bc734'/>
<id>d0eb9dfb9b95b97d31656acd13bb9cfb445bc734</id>
<content type='text'>
No matcher actually uses it, and there is no good reason for it,
as the best it can do for user is removing a single indirection
when using the pointer inside the matcher. Given the overhead of
other code that will be running during such time, it is completely
meaningless.

This also fixes compilation for PredicateMatcher&lt;const char*&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No matcher actually uses it, and there is no good reason for it,
as the best it can do for user is removing a single indirection
when using the pointer inside the matcher. Given the overhead of
other code that will be running during such time, it is completely
meaningless.

This also fixes compilation for PredicateMatcher&lt;const char*&gt;.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add STATIC_REQUIRE assertion</title>
<updated>2018-10-16T14:16:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-10-13T19:29:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=054d356332a05ce3590b256597105e1f564c4ea9'/>
<id>054d356332a05ce3590b256597105e1f564c4ea9</id>
<content type='text'>
By default, it expands into a `static_assert` + `SUCCEED` pair, but
it can also be deferred to runtime by defining
`CATCH_CONFIG_RUNTIME_STATIC_REQUIRE`, which causes it to expand
into plain old `REQUIRE`.

Closes #1362
Closes #1356
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By default, it expands into a `static_assert` + `SUCCEED` pair, but
it can also be deferred to runtime by defining
`CATCH_CONFIG_RUNTIME_STATIC_REQUIRE`, which causes it to expand
into plain old `REQUIRE`.

Closes #1362
Closes #1356
</pre>
</div>
</content>
</entry>
</feed>
