Add --list-listeners option

This commit is contained in:
Martin Hořeňovský committed 2022-05-10 20:57:59 +02:00
1 parent ae475a3c19
commit 5a49285e9c
33 files changed
+220 -18

No files matched your search

+4
View File
@@ -48,6 +48,10 @@ class ValidatingTestListener : public Catch::EventListenerBase {
};
public:
static std::string getDescription() {
return "Validates ordering of Catch2's listener events";
}
ValidatingTestListener(Catch::IConfig const* config) :
EventListenerBase(config) {
m_preferences.shouldReportAllAssertions = true;