<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_run_context.cpp, branch v2.5.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>Abort when total assertions failed is greater than or equal to configured value</title>
<updated>2018-09-22T20:39:08+00:00</updated>
<author>
<name>Mike Cowan</name>
</author>
<published>2018-09-22T18:21:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=de06340e7d2862bbdb55796f86a2090e915f9c19'/>
<id>de06340e7d2862bbdb55796f86a2090e915f9c19</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for -fno-exceptions (or equivalent)</title>
<updated>2018-09-03T19:08:27+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-09-03T15:52:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=8b0188385498d6ac101854dc3983c6ebd220adc3'/>
<id>8b0188385498d6ac101854dc3983c6ebd220adc3</id>
<content type='text'>
This means

* Adding new configuration toggle `CATCH_CONFIG_DISABLE_EXCEPTIONS`
and a best-guess configuration auto-checking for it.
* Adding new set of internal macros, `CATCH_TRY`, `CATCH_CATCH_ALL`
and `CATCH_CATCH_ANON` that can be used in place of regular `try`,
`catch(...)` and `catch(T const&amp;)` respectively, while disappearing
when `CATCH_CONFIG_DISABLE_EXCEPTIONS` is enabled.
* Replacing all uses of `throw` with calls to `Catch::throw_exception`
customization point.
* Providing a default implementation for the above customization point
when `CATCH_CONFIG_DISABLE_EXCEPTIONS` is set.
* Letting users override this implementation with their own.
* Some minor changes and ifdefs all around to support the above
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This means

* Adding new configuration toggle `CATCH_CONFIG_DISABLE_EXCEPTIONS`
and a best-guess configuration auto-checking for it.
* Adding new set of internal macros, `CATCH_TRY`, `CATCH_CATCH_ALL`
and `CATCH_CATCH_ANON` that can be used in place of regular `try`,
`catch(...)` and `catch(T const&amp;)` respectively, while disappearing
when `CATCH_CONFIG_DISABLE_EXCEPTIONS` is enabled.
* Replacing all uses of `throw` with calls to `Catch::throw_exception`
customization point.
* Providing a default implementation for the above customization point
when `CATCH_CONFIG_DISABLE_EXCEPTIONS` is set.
* Letting users override this implementation with their own.
* Some minor changes and ifdefs all around to support the above
</pre>
</div>
</content>
</entry>
<entry>
<title>First attempt at data generator support</title>
<updated>2018-08-24T11:31:51+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2018-06-12T16:50:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7c25dae9ea7b669430103d29cd262abb0842f4e5'/>
<id>7c25dae9ea7b669430103d29cd262abb0842f4e5</id>
<content type='text'>
The support is to be considered experimental, that is, the interfaces,
the first party generators and helper functions can change or be removed
at any point in time.

Related to #850
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The support is to be considered experimental, that is, the interfaces,
the first party generators and helper functions can change or be removed
at any point in time.

Related to #850
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a new reporter customization point: reporting all assertions</title>
<updated>2018-07-14T18:51:02+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-07-14T18:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d6c7392b24ef9a74b4a3abe0445b7fad0e3bea4e'/>
<id>d6c7392b24ef9a74b4a3abe0445b7fad0e3bea4e</id>
<content type='text'>
By opting the JUnit and XML reporters into it, we no longer run
into problem where they underreport the results without `-s` flag.

Related to #1264, #1267, #1310
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By opting the JUnit and XML reporters into it, we no longer run
into problem where they underreport the results without `-s` flag.

Related to #1264, #1267, #1310
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecated description in SECTION (still accepts it, for now, but doesn't use it anywhere)</title>
<updated>2018-06-25T18:04:29+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2018-06-25T18:04:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=1579744dddc69c290808eae0b9c6887ee60765f2'/>
<id>1579744dddc69c290808eae0b9c6887ee60765f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add an experimental new way of capturing stdout/stderr</title>
<updated>2018-04-29T20:25:49+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-04-29T20:14:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e92b9c07c3a7b8b3c40590a191bd2f7fb59cd268'/>
<id>e92b9c07c3a7b8b3c40590a191bd2f7fb59cd268</id>
<content type='text'>
Unlike the relatively non-invasive old way of capturing stdout/stderr,
this new way is also able to capture output from C's stdlib functions
such as `printf`. This is done by redirecting stdout and stderr file
descriptors to a file, and then reading this file back.

This approach has two sizeable drawbacks:
1) Performance, obviously. Previously an installed capture made the
program run faster (as long as it was then discarded), because a call
to `std::cout` did not result in text output to the console. This new
capture method in fact forces disk IO. While it is likely that any
modern OS will keep this file in memory-cache and might never actually
issue the IO to the backing storage, it is still a possibility and
calls to the file system are not free.

2) Nonportability. While POSIX is usually assumed portable, and this
implementation relies only on a very common parts of it, it is no
longer standard C++ (or just plain C) and thus might not be available
on some obscure platforms. Different C libs might also implement the
relevant functions in a less-than-useful ways (e.g. MS's `tmpfile`
generates a temp file inside system folder, so it will not work
without elevated privileges and thus is useless).

These two drawbacks mean that, at least for now, the new capture is
opt-in. To opt-in, `CATCH_CONFIG_EXPERIMENTAL_REDIRECT` needs to be
defined in the implementation file.

Closes #1243
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unlike the relatively non-invasive old way of capturing stdout/stderr,
this new way is also able to capture output from C's stdlib functions
such as `printf`. This is done by redirecting stdout and stderr file
descriptors to a file, and then reading this file back.

This approach has two sizeable drawbacks:
1) Performance, obviously. Previously an installed capture made the
program run faster (as long as it was then discarded), because a call
to `std::cout` did not result in text output to the console. This new
capture method in fact forces disk IO. While it is likely that any
modern OS will keep this file in memory-cache and might never actually
issue the IO to the backing storage, it is still a possibility and
calls to the file system are not free.

2) Nonportability. While POSIX is usually assumed portable, and this
implementation relies only on a very common parts of it, it is no
longer standard C++ (or just plain C) and thus might not be available
on some obscure platforms. Different C libs might also implement the
relevant functions in a less-than-useful ways (e.g. MS's `tmpfile`
generates a temp file inside system folder, so it will not work
without elevated privileges and thus is useless).

These two drawbacks mean that, at least for now, the new capture is
opt-in. To opt-in, `CATCH_CONFIG_EXPERIMENTAL_REDIRECT` needs to be
defined in the implementation file.

Closes #1243
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup for performance reasons</title>
<updated>2018-03-02T15:24:35+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-03-02T15:22:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d2ddb997a74f698e10ac3debbfc48b3722caf3eb'/>
<id>d2ddb997a74f698e10ac3debbfc48b3722caf3eb</id>
<content type='text'>
* Eliminated some copies
* Made makeTestCase fit into 4 arguments -- avoids spills on Win64
* Made string literals into StringRef literals
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Eliminated some copies
* Made makeTestCase fit into 4 arguments -- avoids spills on Win64
* Made string literals into StringRef literals
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed NoAssertions warning</title>
<updated>2018-01-26T16:52:28+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2018-01-26T16:52:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ca2455e6e6436d18b4d62dddd0595444cceeb3ad'/>
<id>ca2455e6e6436d18b4d62dddd0595444cceeb3ad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactored StreamRedirect classes</title>
<updated>2017-12-05T23:19:28+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-12-05T23:19:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=aa9d635014c3ab321fe65bd59c50fa71d6a86583'/>
<id>aa9d635014c3ab321fe65bd59c50fa71d6a86583</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Just track whether last assertion passed directly, rather than deduce it from counts</title>
<updated>2017-12-02T18:44:23+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-12-02T18:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=dfa817ae73486bdff61336b60967407324e5e1f4'/>
<id>dfa817ae73486bdff61336b60967407324e5e1f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
