<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/tools/scripts/approvalTests.py, branch constexpr_approx</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>Improved path normalization in approvalTests.py</title>
<updated>2023-01-01T19:27:59+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-12-31T20:17:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ac93f1943762f6fc92f0dc5bac0d720a33a27530'/>
<id>ac93f1943762f6fc92f0dc5bac0d720a33a27530</id>
<content type='text'>
Instead of redoing the whole line where path was found, only the
directory part of the path is removed, instead of removing all
of the line before the path starts.

This results in slight change in how junit and sonarqube approvals
come out, and significant change in how TeamCity reporter approvals
come out. This latter difference is the reason for the change,
as now the lines with `testFailed` and `testIgnored` messages
are not completely butchered.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of redoing the whole line where path was found, only the
directory part of the path is removed, instead of removing all
of the line before the path starts.

This results in slight change in how junit and sonarqube approvals
come out, and significant change in how TeamCity reporter approvals
come out. This latter difference is the reason for the change,
as now the lines with `testFailed` and `testIgnored` messages
are not completely butchered.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup the helper scripts</title>
<updated>2022-11-06T20:23:16+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-11-05T23:17:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=297a17593fe6c0545fe28cfb909243ee831ac27f'/>
<id>297a17593fe6c0545fe28cfb909243ee831ac27f</id>
<content type='text'>
* Remove from __future__ import print_function, because we
  no longer support Python2.
* Clean out unused parts of tools/scripts/scriptCommon.py
* Move appveyorMergeCoverageScript to Python3
* Update user reporting in *release scripts
* Cleanup module imports
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove from __future__ import print_function, because we
  no longer support Python2.
* Clean out unused parts of tools/scripts/scriptCommon.py
* Move appveyorMergeCoverageScript to Python3
* Update user reporting in *release scripts
* Cleanup module imports
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't write ApprovalTests' temporary files into the source tree</title>
<updated>2022-11-05T23:11:38+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-11-05T23:11:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0c75caf77b5c288a4a9461c08943e263b365180a'/>
<id>0c75caf77b5c288a4a9461c08943e263b365180a</id>
<content type='text'>
This has two effects:
 1) This significantly improves the performance of ApprovalTests
    run in WSL, because running the massively multi-reporter
    test would cause lots of small and parallel writes across the
    WSL-Windows FS boundary, completely mudering performance.

 2) ApprovalTests can be run from multiple build dirs in parallel,
    as long as they do not fail. However, if they do fail,
    the multiple runs will still step on each other toes when
    writing the unapproved files for user.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has two effects:
 1) This significantly improves the performance of ApprovalTests
    run in WSL, because running the massively multi-reporter
    test would cause lots of small and parallel writes across the
    WSL-Windows FS boundary, completely mudering performance.

 2) ApprovalTests can be run from multiple build dirs in parallel,
    as long as they do not fail. However, if they do fail,
    the multiple runs will still step on each other toes when
    writing the unapproved files for user.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor shared args in approvalTests.py</title>
<updated>2022-06-14T21:42:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-06-14T21:42:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=fa9416426adda74f41af014dd8b22ce17a7afca7'/>
<id>fa9416426adda74f41af014dd8b22ce17a7afca7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Force disable console colours for tests that regex check output</title>
<updated>2022-06-14T21:24:06+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-06-14T21:23:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=338e4ec1f8dc33f1f55ba1ab85b4ae73d0ffa65e'/>
<id>338e4ec1f8dc33f1f55ba1ab85b4ae73d0ffa65e</id>
<content type='text'>
Fixes #2458
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2458
</pre>
</div>
</content>
</entry>
<entry>
<title>Report Catch2's version in the xml reporter output</title>
<updated>2022-05-03T17:46:35+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-05-03T17:44:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d9b0a38f81df4bd5876888ba7937f5750b59b5a5'/>
<id>d9b0a38f81df4bd5876888ba7937f5750b59b5a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Integrate the new reporter specs into Catch2</title>
<updated>2022-04-07T10:50:08+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-04-04T19:07:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=423e1d2ebbd75bb92cb486f83f2c5800b4b9689e'/>
<id>423e1d2ebbd75bb92cb486f83f2c5800b4b9689e</id>
<content type='text'>
This means that the CLI interface now uses the new key-value oriented
reporter spec, the common reporter base creates the colour implementation
based on the reporter-specific configuration, and it also stores the
custom configuration options for each reporter instance.

Closes #339 as it allows per-reporter forcing of ansi colour codes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This means that the CLI interface now uses the new key-value oriented
reporter spec, the common reporter base creates the colour implementation
based on the reporter-specific configuration, and it also stores the
custom configuration options for each reporter instance.

Closes #339 as it allows per-reporter forcing of ansi colour codes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanups output normalization in ApprovalTests</title>
<updated>2022-01-27T20:11:51+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-01-26T22:47:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=4ff8b27bb6bed4b8b309e56cd269b4f1fbc24e89'/>
<id>4ff8b27bb6bed4b8b309e56cd269b4f1fbc24e89</id>
<content type='text'>
Removed:
 * NaN normalization
 * INFINITY normalization
 * errno normalization
 * Completely unused duration regex

Tests using these macros should be tagged `[approvals]`
so they are not run as part of approval tests.

Also simplified regex for the test's executable filename,
and hidden some tests relying on nullptr normalization.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed:
 * NaN normalization
 * INFINITY normalization
 * errno normalization
 * Completely unused duration regex

Tests using these macros should be tagged `[approvals]`
so they are not run as part of approval tests.

Also simplified regex for the test's executable filename,
and hidden some tests relying on nullptr normalization.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update version string to mention Catch2</title>
<updated>2022-01-27T19:15:05+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2022-01-27T10:21:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=dc86d51af2a7e37bf19bb5b9cfc510ebc47d7573'/>
<id>dc86d51af2a7e37bf19bb5b9cfc510ebc47d7573</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 multiple parallel reporters</title>
<updated>2022-01-01T13:02:23+00:00</updated>
<author>
<name>Martin Jeřábek</name>
</author>
<published>2021-02-06T19:12:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ccd67b293d7595a0cf2dc6c4bfb2017fc18c1f14'/>
<id>ccd67b293d7595a0cf2dc6c4bfb2017fc18c1f14</id>
<content type='text'>
This requires a bunch of different changes across the reporter
subsystem.

* We need to handle multiple reporters and their differing
  preferences in `ListeningReporter`, e.g. what to do when
  we mix reporters that capture and don't capture stdout.
* We need to change how the reporter is given output and
  how we parse reporter's output destination from CLI.
* Approval tests need to handle multireporter option
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This requires a bunch of different changes across the reporter
subsystem.

* We need to handle multiple reporters and their differing
  preferences in `ListeningReporter`, e.g. what to do when
  we mix reporters that capture and don't capture stdout.
* We need to change how the reporter is given output and
  how we parse reporter's output destination from CLI.
* Approval tests need to handle multireporter option
</pre>
</div>
</content>
</entry>
</feed>
