Opt out JUnit/SonarQube reporter from expanding passing assertions

Closes #1966
This commit is contained in:
Martin Hořeňovský 2021-11-14 00:12:20 +01:00
parent d02ea5adee
commit 0c9fe16537
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
2 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,7 @@ namespace Catch {
{
m_preferences.shouldRedirectStdOut = true;
m_preferences.shouldReportAllAssertions = true;
m_shouldStoreSuccesfulAssertions = false;
}
std::string JunitReporter::getDescription() {

View File

@ -21,6 +21,7 @@ namespace Catch {
, xml(config.stream()) {
m_preferences.shouldRedirectStdOut = true;
m_preferences.shouldReportAllAssertions = true;
m_shouldStoreSuccesfulAssertions = false;
}
~SonarQubeReporter() override = default;