Add a new reporter customization point: reporting all assertions

By opting the JUnit and XML reporters into it, we no longer run
into problem where they underreport the results without `-s` flag.

Related to #1264, #1267, #1310
This commit is contained in:
Martin Hořeňovský
2018-07-14 20:51:02 +02:00
parent 9ee4c1db52
commit d6c7392b24
6 changed files with 6 additions and 7 deletions

View File

@@ -62,6 +62,7 @@ namespace Catch {
xml( _config.stream() )
{
m_reporterPrefs.shouldRedirectStdOut = true;
m_reporterPrefs.shouldReportAllAssertions = true;
}
JunitReporter::~JunitReporter() {}