<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/docs/configuration.md, branch v2.3.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>Link the example from `CATCH_CONFIG_NOSTDOUT` documentation</title>
<updated>2018-07-08T11:58:44+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-07-08T11:58:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7a59d5027f810efc35dd2b7859258a51d0b216cc'/>
<id>7a59d5027f810efc35dd2b7859258a51d0b216cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix documentation of CATCH_CONFIG_FAST_COMPILE</title>
<updated>2018-06-30T10:31:46+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-06-30T10:31:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f460a7d8f91095386b3b44af978b70eafbe75122'/>
<id>f460a7d8f91095386b3b44af978b70eafbe75122</id>
<content type='text'>
Related to issue #1279
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to issue #1279
</pre>
</div>
</content>
</entry>
<entry>
<title>Make FALLBACK_STRINGIFIER documentation more explicit</title>
<updated>2018-05-14T19:03:07+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-05-14T19:03:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=df0b0e64e11e1dd3c8364630cfb41397d21795a5'/>
<id>df0b0e64e11e1dd3c8364630cfb41397d21795a5</id>
<content type='text'>
Related to #1024
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to #1024
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide a polyfill over `std::to_string`</title>
<updated>2018-05-09T19:47:42+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-05-09T18:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0074926e5cd815f004b4f33961ca89fc5754c8c6'/>
<id>0074926e5cd815f004b4f33961ca89fc5754c8c6</id>
<content type='text'>
Android apparently does not support `std::to_string`, so we add a
small polyfill over it. Right now only the ULP matcher uses it,
but we have had plans to use it in `StringMaker&lt;int&gt;` and friends,
as it performs a lot better than `std::stringstream` based
stringification on MSVC.

See #1280 for more details
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android apparently does not support `std::to_string`, so we add a
small polyfill over it. Right now only the ULP matcher uses it,
but we have had plans to use it in `StringMaker&lt;int&gt;` and friends,
as it performs a lot better than `std::stringstream` based
stringification on MSVC.

See #1280 for more details
</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>Merge branch 'master' into master</title>
<updated>2018-03-07T09:37:50+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-03-07T09:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=552589f25bb469daa054fa37edee7f564ca1e309'/>
<id>552589f25bb469daa054fa37edee7f564ca1e309</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce conditional wchar_t (and std::wstring) support</title>
<updated>2018-03-07T09:35:31+00:00</updated>
<author>
<name>Tomas Zeman</name>
</author>
<published>2018-03-01T17:41:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=352853ed7e2592f224fc9e9f01e1314660e906e1'/>
<id>352853ed7e2592f224fc9e9f01e1314660e906e1</id>
<content type='text'>
The support is turned on by default but the user might need to be able
to turn it off which is now possible by defining CATCH_CONFIG_NO_WCHAR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The support is turned on by default but the user might need to be able
to turn it off which is now possible by defining CATCH_CONFIG_NO_WCHAR.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixup various spelling errors (#1208)</title>
<updated>2018-03-07T09:08:35+00:00</updated>
<author>
<name>Josh Soref</name>
</author>
<published>2018-03-07T09:08:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=b11175548afa0cb6ea03b9f73d7e038cf6d6688e'/>
<id>b11175548afa0cb6ea03b9f73d7e038cf6d6688e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Document CATCH_CONFIG_CPP17_UNCAUGHT_EXCEPTIONS macro</title>
<updated>2018-02-25T20:22:38+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-02-25T20:22:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=cf4b7eead92773932f32c7efd2612e9d27b07557'/>
<id>cf4b7eead92773932f32c7efd2612e9d27b07557</id>
<content type='text'>
Also fix how it can be disabled.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix how it can be disabled.
</pre>
</div>
</content>
</entry>
<entry>
<title>Document CATCH_CONFIG_DEFAULT_REPORTER macro</title>
<updated>2018-02-11T17:10:28+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-02-11T17:10:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=31673ee0ca7d8e6ab7a11d37637af1733ef1de50'/>
<id>31673ee0ca7d8e6ab7a11d37637af1733ef1de50</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
