<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/CMakeLists.txt, 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>v2.3.0</title>
<updated>2018-07-23T08:12:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-07-23T08:12:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=15cf3caaceb21172ea42a24e595a2eb58c3ec960'/>
<id>15cf3caaceb21172ea42a24e595a2eb58c3ec960</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reinstate CATCH_BUILD_TESTING CMake option</title>
<updated>2018-07-22T16:01:42+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-07-22T16:01:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=797d3b04dfab2bcfb4d2da17c6649727c60f49f1'/>
<id>797d3b04dfab2bcfb4d2da17c6649727c60f49f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Separate Catch2Config from targets</title>
<updated>2018-06-24T10:32:22+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-06-24T08:11:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=1af60ef5ab661e2e456ad52cf749d8e1e4f6403e'/>
<id>1af60ef5ab661e2e456ad52cf749d8e1e4f6403e</id>
<content type='text'>
This lets us add the installed helper scripts to the cmake module
path, letting CMake users just include them after requiring Catch2
package.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This lets us add the installed helper scripts to the cmake module
path, letting CMake users just include them after requiring Catch2
package.
</pre>
</div>
</content>
</entry>
<entry>
<title>Include contrib in installation</title>
<updated>2018-06-24T10:32:22+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-06-23T17:04:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ed582bde4da06bb38fa5cd406a31c7d1c76c2a39'/>
<id>ed582bde4da06bb38fa5cd406a31c7d1c76c2a39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add option to not install documentation</title>
<updated>2018-06-24T10:32:22+00:00</updated>
<author>
<name>Paul le Roux</name>
</author>
<published>2018-06-19T05:14:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0eb99fb569bf5642e63daabd3f54f9a30c97372f'/>
<id>0eb99fb569bf5642e63daabd3f54f9a30c97372f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Integrate CMake with `&lt;catch2/catch.hpp&gt;` include paths</title>
<updated>2018-06-24T10:32:22+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-06-11T08:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=44722f9ed3d019bdff92d003f9e73333e68c503a'/>
<id>44722f9ed3d019bdff92d003f9e73333e68c503a</id>
<content type='text'>
This also goes for pkg-config installed by our CMake installation.

This includes

* Updating CMake version on Travis
* Adding a `Catch2` subfolder to the `single_include/` folder to
provide this include path both _inside_ the repository, and _outside_.
* Updated examples to build with the new paths
* Other general CMake cleanup
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This also goes for pkg-config installed by our CMake installation.

This includes

* Updating CMake version on Travis
* Adding a `Catch2` subfolder to the `single_include/` folder to
provide this include path both _inside_ the repository, and _outside_.
* Updated examples to build with the new paths
* Other general CMake cleanup
</pre>
</div>
</content>
</entry>
<entry>
<title>v2.2.3</title>
<updated>2018-06-06T21:19:06+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-06-06T21:16:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d2a130f2433aeaca070e3e4d6298a80049d21cfc'/>
<id>d2a130f2433aeaca070e3e4d6298a80049d21cfc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>Call listeners before calling reporters</title>
<updated>2018-04-07T10:25:03+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2018-04-07T09:42:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f00257e374a25b5f19106699cdc8ef0e6a63de02'/>
<id>f00257e374a25b5f19106699cdc8ef0e6a63de02</id>
<content type='text'>
Catch2's documentation promises that listeners are called _before_
reporters, but because of the previous implementation, they were
called _after_ reporters. This commit fixes that.

Closes #1234
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Catch2's documentation promises that listeners are called _before_
reporters, but because of the previous implementation, they were
called _after_ reporters. This commit fixes that.

Closes #1234
</pre>
</div>
</content>
</entry>
</feed>
