Class ConsoleReporter
Defined in File catch_amalgamated.hpp
Inheritance Relationships
Base Type
public Catch::StreamingReporterBase
(Class StreamingReporterBase)
Class Documentation
-
class ConsoleReporter : public Catch::StreamingReporterBase
Public Functions
-
ConsoleReporter(ReporterConfig &&config)
-
~ConsoleReporter() override
-
virtual void noMatchingTestCases(StringRef unmatchedSpec) override
Called when no test cases match provided test spec.
-
virtual void reportInvalidTestSpec(StringRef arg) override
Called for all invalid test specs from the cli.
-
virtual void assertionStarting(AssertionInfo const&) override
Called before assertion success/failure is evaluated.
-
virtual void assertionEnded(AssertionStats const &_assertionStats) override
Called after assertion was fully evaluated.
-
virtual void sectionStarting(SectionInfo const &_sectionInfo) override
Called when a
SECTION
is being entered. Not called for skipped sections.
-
virtual void sectionEnded(SectionStats const &_sectionStats) override
Called after a
SECTION
has finished running.
-
virtual void benchmarkPreparing(StringRef name) override
Called when user-code is being probed before the actual benchmark runs.
-
virtual void benchmarkStarting(BenchmarkInfo const &info) override
Called after probe but before the user-code is being benchmarked.
-
virtual void benchmarkEnded(BenchmarkStats<> const &stats) override
Called with the benchmark results if benchmark successfully finishes.
-
virtual void benchmarkFailed(StringRef error) override
Called if running the benchmarks fails for any reason.
-
virtual void testCaseEnded(TestCaseStats const &_testCaseStats) override
Called once for each TEST_CASE, no matter how many times it is entered.
-
virtual void testRunEnded(TestRunStats const &_testRunStats) override
Called once after all tests in a testing run are finished
Not called if tests weren’t run (e.g. only listings happened)
-
virtual void testRunStarting(TestRunInfo const &_testRunInfo) override
Called once in a testing run before tests are started
Not called if tests won’t be run (e.g. only listing will happen)
Public Static Functions
-
static std::string getDescription()
-
ConsoleReporter(ReporterConfig &&config)