mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-30 01:03:30 +01:00
Opt out JUnit/SonarQube reporter from expanding passing assertions
Closes #1966
This commit is contained in:
parent
d02ea5adee
commit
0c9fe16537
@ -74,6 +74,7 @@ namespace Catch {
|
|||||||
{
|
{
|
||||||
m_preferences.shouldRedirectStdOut = true;
|
m_preferences.shouldRedirectStdOut = true;
|
||||||
m_preferences.shouldReportAllAssertions = true;
|
m_preferences.shouldReportAllAssertions = true;
|
||||||
|
m_shouldStoreSuccesfulAssertions = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string JunitReporter::getDescription() {
|
std::string JunitReporter::getDescription() {
|
||||||
|
@ -21,6 +21,7 @@ namespace Catch {
|
|||||||
, xml(config.stream()) {
|
, xml(config.stream()) {
|
||||||
m_preferences.shouldRedirectStdOut = true;
|
m_preferences.shouldRedirectStdOut = true;
|
||||||
m_preferences.shouldReportAllAssertions = true;
|
m_preferences.shouldReportAllAssertions = true;
|
||||||
|
m_shouldStoreSuccesfulAssertions = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
~SonarQubeReporter() override = default;
|
~SonarQubeReporter() override = default;
|
||||||
|
Loading…
Reference in New Issue
Block a user