Make verboseconsole the default reporter.

This commit is contained in:
tamasmeszaros 2019-10-30 10:47:04 +01:00
parent b928cca54c
commit 4594ce77b0
2 changed files with 5 additions and 2 deletions

View file

@ -3,6 +3,7 @@
#define CATCH_CONFIG_EXTERNAL_INTERFACES
#define CATCH_CONFIG_MAIN
#define CATCH_CONFIG_DEFAULT_REPORTER "verboseconsole"
#include <catch2/catch.hpp>
namespace Catch {
@ -45,7 +46,9 @@ struct VerboseConsoleReporter : public ConsoleReporter {
ConsoleReporter::testCaseEnded(stats);
}
};
CATCH_REGISTER_REPORTER( "verboseconsole", VerboseConsoleReporter )
}
} // namespace Catch
#endif // CATCH_MAIN