<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/docs/matchers.md, branch v2.13.3</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>Document that matcher combinators (&amp;&amp;, ||, !) do not take ownership</title>
<updated>2019-10-26T19:07:38+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-26T19:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c5c688820c919e202304b885df1c5a920ff7eb4e'/>
<id>c5c688820c919e202304b885df1c5a920ff7eb4e</id>
<content type='text'>
Closes #1781
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1781
</pre>
</div>
</content>
</entry>
<entry>
<title>v2.10.0</title>
<updated>2019-10-13T21:44:18+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-13T21:44:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7c9f92bc1c6e82ad5b6af8dff9f97af880fae9c6'/>
<id>7c9f92bc1c6e82ad5b6af8dff9f97af880fae9c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite documentation for floating point matchers</title>
<updated>2019-10-13T19:31:48+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-13T19:31:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a92a7d02290eae896413a7d96e4875587c0dcd42'/>
<id>a92a7d02290eae896413a7d96e4875587c0dcd42</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 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>Update vector matcher documentation</title>
<updated>2019-07-27T16:41:42+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-07-27T16:41:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=425957dc63a6dd52234438c6038b901029c71372'/>
<id>425957dc63a6dd52234438c6038b901029c71372</id>
<content type='text'>
As it turns out, there were 2 undocumented vector matchers. I also
improved the documentation of them all.

Closes #1699
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As it turns out, there were 2 undocumented vector matchers. I also
improved the documentation of them all.

Closes #1699
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1336 from ax3l/topic-overrideVirtualRedundant</title>
<updated>2019-04-18T12:10:24+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-04-18T12:10:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c3c82f539c1d31df6b7f828efe4f4ba9eb650bf7'/>
<id>c3c82f539c1d31df6b7f828efe4f4ba9eb650bf7</id>
<content type='text'>
Refactor: override implies virtual</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refactor: override implies virtual</pre>
</div>
</content>
</entry>
<entry>
<title>Added override keyword near IntRange::describe() method</title>
<updated>2019-03-09T13:05:27+00:00</updated>
<author>
<name>Yurii Nakonechnyi</name>
</author>
<published>2019-03-09T13:05:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=37a4e32319d157254916100cdcc96c2d54d945d7'/>
<id>37a4e32319d157254916100cdcc96c2d54d945d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor: override implies virtual</title>
<updated>2018-07-12T12:27:06+00:00</updated>
<author>
<name>Axel Huebl</name>
</author>
<published>2018-07-12T12:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=5347ff9e5f7e9160642f6f0a4c28fd0a13a7eed8'/>
<id>5347ff9e5f7e9160642f6f0a4c28fd0a13a7eed8</id>
<content type='text'>
If not used with `final`, override implies `virtual`.
Detected via CodeFactor score.

Another reference on SO:
  https://stackoverflow.com/questions/43466863/isnt-virtual-keyword-redundant-when-override-or-final-specifiers-are-used
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If not used with `final`, override implies `virtual`.
Detected via CodeFactor score.

Another reference on SO:
  https://stackoverflow.com/questions/43466863/isnt-virtual-keyword-redundant-when-override-or-final-specifiers-are-used
</pre>
</div>
</content>
</entry>
<entry>
<title>Add PredicateMatcher that takes an arbitrary predicate functions</title>
<updated>2018-04-04T09:14:19+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-04-03T21:28:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=1ca8f43b011ad61f4627a3339333406f15a46431'/>
<id>1ca8f43b011ad61f4627a3339333406f15a46431</id>
<content type='text'>
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate&lt;std::string&gt;([](std::string const&amp; str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also adds `Predicate` helper function to create `PredicateMatcher`.
Because of limitations in type inference it needs to be explicitly
typed, like so
`Predicate&lt;std::string&gt;([](std::string const&amp; str) { ... })`.
It also takes an optional second argument for description of the
predicate.

It is possible to infer the argument with sufficient TMP, see
https://stackoverflow.com/questions/43560492/how-to-extract-lambdas-return-type-and-variadic-parameters-pack-back-from-gener/43561563#43561563
but I don't think that the magic is worth introducing ATM.

Closes #1236
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide a regex matcher against std::string</title>
<updated>2017-11-13T14:35:31+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-11-13T14:35:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=b0857e846fc82c2d26b57170f6d5d0f5abb27fa5'/>
<id>b0857e846fc82c2d26b57170f6d5d0f5abb27fa5</id>
<content type='text'>
Related to #1040
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to #1040
</pre>
</div>
</content>
</entry>
</feed>
