<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/tests/SelfTest/UsageTests/Misc.tests.cpp, branch v3.0.0-preview4</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>Switch from AddVectoredExceptionHandler to SetUnhandledExceptionFilter</title>
<updated>2022-01-03T21:50:32+00:00</updated>
<author>
<name>Alan Jowett</name>
</author>
<published>2021-12-15T16:51:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=98a6c69e1e429a86140301dfa5563b1d7263e813'/>
<id>98a6c69e1e429a86140301dfa5563b1d7263e813</id>
<content type='text'>
This avoids issues with Catch2's handler firing too early, on
structured exceptions that would be handled later. This issue
meant that the old attempts at structured exception handling
were incompatible with Windows's ASan, because it throws
continuable `C0000005` exception, which it then handles.

With the new handling, Catch2 is only notified if nothing else,
including the debugger, has handled the exception.

Signed-off-by: Alan Jowett &lt;alanjo@microsoft.com&gt;

Closes #2332
Closes #2286
Closes #898
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids issues with Catch2's handler firing too early, on
structured exceptions that would be handled later. This issue
meant that the old attempts at structured exception handling
were incompatible with Windows's ASan, because it throws
continuable `C0000005` exception, which it then handles.

With the new handling, Catch2 is only notified if nothing else,
including the debugger, has handled the exception.

Signed-off-by: Alan Jowett &lt;alanjo@microsoft.com&gt;

Closes #2332
Closes #2286
Closes #898
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove some obsolete tests</title>
<updated>2021-12-31T14:12:53+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-12-31T14:12:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c9c3b748054c04630f7dbd1fd44b39148edb24e9'/>
<id>c9c3b748054c04630f7dbd1fd44b39148edb24e9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Small cleanup in tests</title>
<updated>2021-11-14T10:27:43+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-11-12T00:13:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=9b4e69333f863dc31e124f658a3dedbe8d27632a'/>
<id>9b4e69333f863dc31e124f658a3dedbe8d27632a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove stub of obsolete test</title>
<updated>2021-09-27T12:45:39+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-09-27T12:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7bb00a42be5195f30b10b944c275c746e446810c'/>
<id>7bb00a42be5195f30b10b944c275c746e446810c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Multiple tests can have same name as long as their tags differ</title>
<updated>2021-09-25T19:37:03+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-09-25T19:37:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=fb4153e05e430921574d79d868ebc44dd9528629'/>
<id>fb4153e05e430921574d79d868ebc44dd9528629</id>
<content type='text'>
This change also changes it so that test case macros using a
class name can have same name **and** tags as long as the
used class name differs.

Closes #1915
Closes #1999
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change also changes it so that test case macros using a
class name can have same name **and** tags as long as the
used class name differs.

Closes #1915
Closes #1999
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the ill-conceived compilation perf tests using real tests</title>
<updated>2021-06-20T17:15:02+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-06-20T14:25:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=bf61a418cbc4d3b430e3d258c5287780944ad505'/>
<id>bf61a418cbc4d3b430e3d258c5287780944ad505</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress failure of CHECKED_IF and CHECKED_ELSE (#2187)</title>
<updated>2021-05-10T19:42:47+00:00</updated>
<author>
<name>Jozef Grajciar</name>
</author>
<published>2021-05-10T19:42:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=eb911aa995d806a5989cc026df7e8b69c470c4c8'/>
<id>eb911aa995d806a5989cc026df7e8b69c470c4c8</id>
<content type='text'>
Resolves #1390

Co-authored-by: Martin Hořeňovský &lt;martin.horenovsky@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves #1390

Co-authored-by: Martin Hořeňovský &lt;martin.horenovsky@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Split CATCH_CONFIG_WCHAR into its own header</title>
<updated>2020-12-28T19:51:49+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-12-28T19:29:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=1d269211bd603d4a50c44b741617db754b790e23'/>
<id>1d269211bd603d4a50c44b741617db754b790e23</id>
<content type='text'>
Part of #2041
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part of #2041
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix copy paste error in 7-arg TEMPLATE_TEST_CASE_SIG implementation</title>
<updated>2020-07-22T19:18:52+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-06-13T13:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=de53773e468d401426c8f6413a72d2279a81c09c'/>
<id>de53773e468d401426c8f6413a72d2279a81c09c</id>
<content type='text'>
Closes #1954
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1954
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace all uses of std::unique_ptr with Catch::Detail::unique_ptr</title>
<updated>2020-05-31T13:20:24+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-05-25T07:45:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=1d1ccf8f3c0c9e121b16afd4fafb850d14ef9fb0'/>
<id>1d1ccf8f3c0c9e121b16afd4fafb850d14ef9fb0</id>
<content type='text'>
Doing some benchmarking with ClangBuildAnalyzer suggests that
compiling Catch2's `SelfTest` spends 10% of the time instantiating
`std::unique_ptr` for some interface types required for registering
and running tests.

The lesser compilation overhead of `Catch::Detail::unique_ptr` should
significantly reduce that time.

The compiled implementation was also changed to use the custom impl,
to avoid having to convert between using `std::unique_ptr` and
`Catch::Detail::unique_ptr`. This will likely also improve the compile
times of the implementation, but that is less important than improving
compilation times of the user's TUs with tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Doing some benchmarking with ClangBuildAnalyzer suggests that
compiling Catch2's `SelfTest` spends 10% of the time instantiating
`std::unique_ptr` for some interface types required for registering
and running tests.

The lesser compilation overhead of `Catch::Detail::unique_ptr` should
significantly reduce that time.

The compiled implementation was also changed to use the custom impl,
to avoid having to convert between using `std::unique_ptr` and
`Catch::Detail::unique_ptr`. This will likely also improve the compile
times of the implementation, but that is less important than improving
compilation times of the user's TUs with tests.
</pre>
</div>
</content>
</entry>
</feed>
