<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/projects/SelfTest/UsageTests, branch v2.10.0</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 a matcher that checks exception's message</title>
<updated>2019-10-13T18:37:07+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-13T18:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2cc0c718562d41a9900daca3ba53b6753515ee49'/>
<id>2cc0c718562d41a9900daca3ba53b6753515ee49</id>
<content type='text'>
Only works for exceptions that publicly derive from `std::exception`
and the matching is done exactly, including case and whitespace.

Closes #1649
Closes #1728

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Your branch is up-to-date with 'origin/master'.
#
# Changes to be committed:
#	modified:   ../docs/matchers.md
#	modified:   ../include/internal/catch_capture_matchers.h
#	modified:   ../projects/CMakeLists.txt
#	modified:   ../projects/SelfTest/Baselines/compact.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/console.std.approved.txt
#	modified:   ../projects/SelfTest/Baselines/console.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/junit.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/xml.sw.approved.txt
#	modified:   ../projects/SelfTest/UsageTests/Matchers.tests.cpp
#
# Untracked files:
#	./
#	../clang-full/
#	../clang-test/
#	../clang10-build/
#	../coverage-build/
#	../gcc-build/
#	../gcc-full/
#	../include/internal/catch_matchers_exception.cpp
#	../include/internal/catch_matchers_exception.hpp
#	../misc-build/
#	../msvc-sln/
#	../notes.txt
#	../test-install/
#
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only works for exceptions that publicly derive from `std::exception`
and the matching is done exactly, including case and whitespace.

Closes #1649
Closes #1728

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Your branch is up-to-date with 'origin/master'.
#
# Changes to be committed:
#	modified:   ../docs/matchers.md
#	modified:   ../include/internal/catch_capture_matchers.h
#	modified:   ../projects/CMakeLists.txt
#	modified:   ../projects/SelfTest/Baselines/compact.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/console.std.approved.txt
#	modified:   ../projects/SelfTest/Baselines/console.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/junit.sw.approved.txt
#	modified:   ../projects/SelfTest/Baselines/xml.sw.approved.txt
#	modified:   ../projects/SelfTest/UsageTests/Matchers.tests.cpp
#
# Untracked files:
#	./
#	../clang-full/
#	../clang-test/
#	../clang10-build/
#	../coverage-build/
#	../gcc-build/
#	../gcc-full/
#	../include/internal/catch_matchers_exception.cpp
#	../include/internal/catch_matchers_exception.hpp
#	../misc-build/
#	../msvc-sln/
#	../notes.txt
#	../test-install/
#
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the right overload of std::nextafter in tests</title>
<updated>2019-10-13T11:36:22+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-13T11:36:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=28663fb9594ae60109255625d8e6020a36331105'/>
<id>28663fb9594ae60109255625d8e6020a36331105</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 Relative Comparison matcher for floating point numbers</title>
<updated>2019-10-13T09:56:50+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-13T09:56:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d2d418a9cbda255e193c4ed6c57cdf20137fa309'/>
<id>d2d418a9cbda255e193c4ed6c57cdf20137fa309</id>
<content type='text'>
It checks Knuth's _close enough with tolerance_ relationship, that
is `|lhs - rhs| &lt;= epsilon * max(|lhs|, |rhs|)`, rather then the
_very close with tolerance_ relationship that can be written down as
`|lhs - rhs| &lt;= epsilon * min(|lhs|, |rhs|)`.

This is because it is the more common model around the internet, and
as such is likely to be less surprising to the users. In the future
we might want to provide the other model as well.

Closes #1746
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It checks Knuth's _close enough with tolerance_ relationship, that
is `|lhs - rhs| &lt;= epsilon * max(|lhs|, |rhs|)`, rather then the
_very close with tolerance_ relationship that can be written down as
`|lhs - rhs| &lt;= epsilon * min(|lhs|, |rhs|)`.

This is because it is the more common model around the internet, and
as such is likely to be less surprising to the users. In the future
we might want to provide the other model as well.

Closes #1746
</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>Allow full range of target ULP values for the ULPMatcher</title>
<updated>2019-10-05T11:38:22+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-05T11:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c38a5caa2ebf0738e468f419c4d3ed857001cfb0'/>
<id>c38a5caa2ebf0738e468f419c4d3ed857001cfb0</id>
<content type='text'>
Previously it was limited to roughly 2 billion ULPs, rather than
the roughly 2^64 possible ones.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously it was limited to roughly 2 billion ULPs, rather than
the roughly 2^64 possible ones.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for INF == Approx(1)</title>
<updated>2019-10-04T12:19:39+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-04T12:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ebc5609484b357c3a047aa8418ef5dd320209239'/>
<id>ebc5609484b357c3a047aa8418ef5dd320209239</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Special case Approx(inf) to better follow user expectations</title>
<updated>2019-10-04T11:28:43+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-04T11:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=02ee130bd0191b084821ccfa2dfd7eba9df197aa'/>
<id>02ee130bd0191b084821ccfa2dfd7eba9df197aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow to use non-copyable and non-movable types in TEMPLATE_LIST_TEST_CASE</title>
<updated>2019-09-06T10:15:09+00:00</updated>
<author>
<name>Benjamin Worpitz</name>
</author>
<published>2019-08-17T09:48:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=18d597cf10b593de2853199b152f6a8a7a041293'/>
<id>18d597cf10b593de2853199b152f6a8a7a041293</id>
<content type='text'>
The parameter given to `convert` may not be copyable therefore it has to be
captured by const reference. For example an `std::tuple` that contains a
non-copyable type is itself non-copyable.

The NonDefaultConstructible test-case was reduced by one example type
because it did not add any value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The parameter given to `convert` may not be copyable therefore it has to be
captured by const reference. For example an `std::tuple` that contains a
non-copyable type is itself non-copyable.

The NonDefaultConstructible test-case was reduced by one example type
because it did not add any value.
</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>
</feed>
