Horizon
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Catch::JunitReporter Class Referencefinal

Inherits Catch::CumulativeReporterBase.

Public Member Functions

 JunitReporter (ReporterConfig &&_config)
 
void testRunStarting (TestRunInfo const &runInfo) override
 Called once in a testing run before tests are started.
 
void testCaseStarting (TestCaseInfo const &testCaseInfo) override
 Called once for each TEST_CASE, no matter how many times it is entered.
 
void assertionEnded (AssertionStats const &assertionStats) override
 Called after assertion was fully evaluated.
 
void testCaseEnded (TestCaseStats const &testCaseStats) override
 Called once for each TEST_CASE, no matter how many times it is entered.
 
void testRunEndedCumulative () override
 

Static Public Member Functions

static std::string getDescription ()
 

Member Function Documentation

◆ assertionEnded()

void Catch::JunitReporter::assertionEnded ( AssertionStats const &  assertionStats)
overridevirtual

Called after assertion was fully evaluated.

Implements Catch::IEventListener.

◆ testCaseEnded()

void Catch::JunitReporter::testCaseEnded ( TestCaseStats const &  testCaseStats)
overridevirtual

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

Implements Catch::IEventListener.

◆ testCaseStarting()

void Catch::JunitReporter::testCaseStarting ( TestCaseInfo const &  testInfo)
overridevirtual

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

Implements Catch::IEventListener.

◆ testRunStarting()

void Catch::JunitReporter::testRunStarting ( TestRunInfo const &  testRunInfo)
overridevirtual

Called once in a testing run before tests are started.

Not called if tests won't be run (e.g. only listing will happen)

Implements Catch::IEventListener.


The documentation for this class was generated from the following files: