Implement warning for unmatched test specs

This commit is contained in:
Martin Hořeňovský
2021-12-18 20:50:03 +01:00
parent 9f2dca5384
commit 840acedf62
8 changed files with 54 additions and 6 deletions
+3
View File
@@ -70,6 +70,9 @@ namespace Catch {
bool Config::warnAboutMissingAssertions() const {
return !!( m_data.warnings & WarnAbout::NoAssertions );
}
bool Config::warnAboutUnmatchedTestSpecs() const {
return !!( m_data.warnings & WarnAbout::UnmatchedTestSpec );
}
bool Config::zeroTestsCountAsSuccess() const { return m_data.allowZeroTests; }
ShowDurations Config::showDurations() const { return m_data.showDurations; }
double Config::minDuration() const { return m_data.minDuration; }