Class JunitReporter

Inheritance Relationships

Base Type

  • public Catch::CumulativeReporterBase

Class Documentation

class JunitReporter : public Catch::CumulativeReporterBase

Public Functions

JunitReporter(ReporterConfig &&_config)
~JunitReporter() override = default
virtual void testRunStarting(TestRunInfo const &runInfo) 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)

virtual void testCaseStarting(TestCaseInfo const &testCaseInfo) override

Called once for each TEST_CASE, no matter how many times it is entered.

virtual void assertionEnded(AssertionStats const &assertionStats) override

Called after assertion was fully evaluated.

virtual void testCaseEnded(TestCaseStats const &testCaseStats) override

Called once for each TEST_CASE, no matter how many times it is entered.

void testRunEndedCumulative() override

Public Static Functions

static std::string getDescription()