diff options
| author | Martin Hořeňovský | 2021-12-31 00:00:58 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-01-01 14:16:12 +0100 |
| commit | 4752545a69e46126f86b1bd54bc154fc54f37e2a (patch) | |
| tree | 187f323b0a524471192fbf2583e4ee2a4019d153 /docs | |
| parent | fae0be25b3e1bdd07a18465749488650616d78f9 (diff) | |
| download | catch3-4752545a69e46126f86b1bd54bc154fc54f37e2a.tar.gz | |
Add version placeholders to the reporter docs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/command-line.md | 2 | ||||
| -rw-r--r-- | docs/reporters.md | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/command-line.md b/docs/command-line.md index 0bc7744b..895c6fb9 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -125,6 +125,8 @@ Test names containing special characters, such as `,` or `[` can specify them on <pre>-r, --reporter <reporter[::output-file]></pre> +> Support for providing output-file through the `-r`, `--reporter` flag was [introduced](https://github.com/catchorg/Catch2/pull/2183) in Catch2 X.Y.Z + A reporter is an object that formats and structures the output of running tests, and potentially summarises the results. By default a console reporter is used that writes, IDE friendly, textual output. Catch comes bundled with some alternative reporters, but more can be added in client code.<br /> The bundled reporters are: diff --git a/docs/reporters.md b/docs/reporters.md index 81baa308..9552154b 100644 --- a/docs/reporters.md +++ b/docs/reporters.md @@ -38,6 +38,8 @@ By default all these reports are written to stdout, but can be redirected to a f <a id="multiple-reporters"></a> ## Using multiple reporters +> Support for having multiple parallel reporters was [introduced](https://github.com/catchorg/Catch2/pull/2183) in Catch2 X.Y.Z + Multiple reporters may be used at the same time, e.g. to save a machine-readable output to a file but still print the human-readable output to the console: ``` -r console -r xml::result.xml -r junit::result-junit.xml |