Add common ReporterBase as parent of the helper bases

This is useful as a centralized place for handling common reporter
problems like handling output streams, and soon also colour impl
handling.
This commit is contained in:
Martin Hořeňovský
2022-03-06 16:08:31 +01:00
parent 4dd5e2eece
commit 05d4ec62c8
9 changed files with 101 additions and 55 deletions

View File

@@ -70,7 +70,7 @@ out in batch after each runthrough of a test case is finished.
You can also write your own custom reporter and tell Catch2 to use it.
When writing your reporter, you have two options:
* Derive from `Catch::IStreamingReporter`. When doing this, you will have
* Derive from `Catch::ReporterBase`. When doing this, you will have
to provide handling for all [reporter events](reporter-events.md#top).
* Derive from one of the provided [utility reporter bases in
Catch2](#utility-reporter-bases).