<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/examples, branch v3.0.0-preview2</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>Remove catch_default_main.hpp</title>
<updated>2020-05-09T16:00:49+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-05-07T14:24:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=db32550898ac0b7bdb81228972f6ba58b88ce18d'/>
<id>db32550898ac0b7bdb81228972f6ba58b88ce18d</id>
<content type='text'>
There are two reasons for this:

1) It is highly unlikely that someone has use for this header,
which has no customization points and only provides simplest
possible main, and cannot link the static library which also
provides a default main implementation.
2) It being a header was causing extra complications with
the convenience headers, and our checking script. This would either
require special handling in the checking script, or would break user's
of the main convenience header.

All in all, it is simpler and better in the long term to remove it,
than to fix its problems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are two reasons for this:

1) It is highly unlikely that someone has use for this header,
which has no customization points and only provides simplest
possible main, and cannot link the static library which also
provides a default main implementation.
2) It being a header was causing extra complications with
the convenience headers, and our checking script. This would either
require special handling in the checking script, or would break user's
of the main convenience header.

All in all, it is simpler and better in the long term to remove it,
than to fix its problems.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename CMake/pkg-config target Catch2Main to Catch2WithMain</title>
<updated>2020-05-03T16:54:38+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-05-03T16:54:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=19ecad6f68154df2ba182c93224bdda8d7527b34'/>
<id>19ecad6f68154df2ba182c93224bdda8d7527b34</id>
<content type='text'>
This describes the reality better, as it also links in the rest
of Catch2.

The on-disk name of the static library remains just `Catch2Main`,
as that is what it is -- single main function -- and on-disk artifacts
cannot describe link dependencies.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This describes the reality better, as it also links in the rest
of Catch2.

The on-disk name of the static library remains just `Catch2Main`,
as that is what it is -- single main function -- and on-disk artifacts
cannot describe link dependencies.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid recompiling main for each example</title>
<updated>2020-04-24T19:13:07+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-04-24T19:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=b955355ec4e887da6a02e7649af85c594ec73c93'/>
<id>b955355ec4e887da6a02e7649af85c594ec73c93</id>
<content type='text'>
Instead, link against `Catch2Main` CMake target as intended.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead, link against `Catch2Main` CMake target as intended.
</pre>
</div>
</content>
</entry>
<entry>
<title>Standardize header names and file locations</title>
<updated>2020-04-24T16:58:44+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-03-30T08:34:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e1e6872c4c0f79731894c9b763843af33d16bdab'/>
<id>e1e6872c4c0f79731894c9b763843af33d16bdab</id>
<content type='text'>
This is both a really big and a really small commit. It is small in
that it only contains renaming, moving and modification of include
directives caused by this.

It is really big in the obvious way of touching something like 200
files.

The new rules for naming files is simple: headers use the `.hpp`
extension. The rules for physical file layout is still kinda in
progress, but the basics are also simple:
 * Significant parts of functionality get their own subfolder
   * Benchmarking is in `catch2/benchmark`
   * Matchers are in `catch2/matchers`
   * Generators are in `catch2/generators`
   * Reporters are in `catch2/reporters`
   * Baseline testing facilities are in `catch2/`
 * Various top level folders also contain `internal` subfolder,
   with files that users probably do not want to include directly,
   at least not until they have to write something like their own
   reporter.
    * The exact files in these subfolders is likely to change later
      on

Note that while some includes were cleaned up in this commit, it
is only the low hanging fruit and further cleanup using automatic
tooling will happen later.

Also note that various include guards, copyright notices and file
headers will also be standardized later, rather than in this commit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is both a really big and a really small commit. It is small in
that it only contains renaming, moving and modification of include
directives caused by this.

It is really big in the obvious way of touching something like 200
files.

The new rules for naming files is simple: headers use the `.hpp`
extension. The rules for physical file layout is still kinda in
progress, but the basics are also simple:
 * Significant parts of functionality get their own subfolder
   * Benchmarking is in `catch2/benchmark`
   * Matchers are in `catch2/matchers`
   * Generators are in `catch2/generators`
   * Reporters are in `catch2/reporters`
   * Baseline testing facilities are in `catch2/`
 * Various top level folders also contain `internal` subfolder,
   with files that users probably do not want to include directly,
   at least not until they have to write something like their own
   reporter.
    * The exact files in these subfolders is likely to change later
      on

Note that while some includes were cleaned up in this commit, it
is only the low hanging fruit and further cleanup using automatic
tooling will happen later.

Also note that various include guards, copyright notices and file
headers will also be standardized later, rather than in this commit.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove catch.hpp</title>
<updated>2020-03-29T19:32:13+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-03-29T14:41:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=151dccbd3161715be284ddd68be6f20dbae29f1d'/>
<id>151dccbd3161715be284ddd68be6f20dbae29f1d</id>
<content type='text'>
This was an old "include all" header, that we no longer want to be
usable, to make the include differences in new versions explicit.

We will introduce new "include all" headers later, in the form of
`catch_all.hpp`, `catch_matchers_all.hpp` and so on...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was an old "include all" header, that we no longer want to be
usable, to make the include differences in new versions explicit.

We will introduce new "include all" headers later, in the form of
`catch_all.hpp`, `catch_matchers_all.hpp` and so on...
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix warnings in ExtraTests and Examples</title>
<updated>2020-02-26T15:07:54+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-02-25T11:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d1ffaf55a1653575a5a24da738ee777cdb85626f'/>
<id>d1ffaf55a1653575a5a24da738ee777cdb85626f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add development build option to CMake and enable it on CI</title>
<updated>2020-02-26T15:07:26+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-02-21T20:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=6e270958a216821676998e8f6d8f524900156d4d'/>
<id>6e270958a216821676998e8f6d8f524900156d4d</id>
<content type='text'>
Development build enables warnings and and `Werror` or equivalent.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Development build enables warnings and and `Werror` or equivalent.
</pre>
</div>
</content>
</entry>
<entry>
<title>Some refactorings:</title>
<updated>2020-02-16T14:25:23+00:00</updated>
<author>
<name>offa</name>
</author>
<published>2020-01-21T20:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=06c32862b3d7d20544ba876e590e799667b3afa8'/>
<id>06c32862b3d7d20544ba876e590e799667b3afa8</id>
<content type='text'>
 - Overrides added
 - usages of push_back() replaced with emplace_back()
 - Loop variable made const-refernce
 - NULL replaced with nullptr
 - Names used in the declaration and definition unified
 - size() replaced with empty
 - Identical cases merged
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Overrides added
 - usages of push_back() replaced with emplace_back()
 - Loop variable made const-refernce
 - NULL replaced with nullptr
 - Names used in the declaration and definition unified
 - size() replaced with empty
 - Identical cases merged
</pre>
</div>
</content>
</entry>
<entry>
<title>Outline GeneratorException from generators header</title>
<updated>2020-02-14T15:15:47+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-02-14T09:32:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=db1a0465dc39e8aed36852984c14072192750b1d'/>
<id>db1a0465dc39e8aed36852984c14072192750b1d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use std::make_unique instead of our polyfill or naked new</title>
<updated>2020-02-01T22:34:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-02-01T20:43:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ea6db670632204bace889f646ca08bfa58bddeab'/>
<id>ea6db670632204bace889f646ca08bfa58bddeab</id>
<content type='text'>
The use we previously used the polyfill or naked new is that we
supported C++11, which did not yet have `std::make_unique`. However,
with the move to C++14 as the minimum, `std::make_unique` can be
expected to be always available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The use we previously used the polyfill or naked new is that we
supported C++11, which did not yet have `std::make_unique`. However,
with the move to C++14 as the minimum, `std::make_unique` can be
expected to be always available.
</pre>
</div>
</content>
</entry>
</feed>
