catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Clear state in AccumulatingReporter
- Commit
0d4609f5360d4902ad0844b0f5ce41a5b2035c32- Author
- Phil Nash ·
- Parents
8b7115854054
Changes
include/internal/catch_interfaces_reporter.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/internal/catch_interfaces_reporter.h b/include/internal/catch_interfaces_reporter.h index efde354b..557aa6b9 100644 --- a/include/internal/catch_interfaces_reporter.h +++ b/include/internal/catch_interfaces_reporter.h @@ -232,6 +232,11 @@ namespace Catch unusedGroupInfo.reset(); } virtual void testRunEnded( Ptr<TestRunStats const> const& /* _testRunStats */ ) { + currentSectionInfo.reset(); + unusedSectionInfo.reset(); + unusedTestCaseInfo.reset(); + unusedGroupInfo.reset(); + testRunInfo.reset(); } ReporterConfig m_config;