Class SonarQubeReporter

Inheritance Relationships

Base Type

  • public Catch::CumulativeReporterBase

Class Documentation

class SonarQubeReporter : public Catch::CumulativeReporterBase

Public Functions

inline SonarQubeReporter(ReporterConfig &&config)
~SonarQubeReporter() override = default
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)

inline void testRunEndedCumulative() override
void writeRun(TestRunNode const &groupNode)
void writeTestFile(StringRef filename, std::vector<TestCaseNode const*> const &testCaseNodes)
void writeTestCase(TestCaseNode const &testCaseNode)
void writeSection(std::string const &rootName, SectionNode const &sectionNode, bool okToFail)
void writeAssertions(SectionNode const &sectionNode, bool okToFail)
void writeAssertion(AssertionStats const &stats, bool okToFail)

Public Static Functions

static inline std::string getDescription()