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
perform startRun() at the start of each test case
- Commit
aa49823bc07cf2422866454fd04de20a47ce620f- Author
- Phil Nash ·
- Parents
52a417df7b3f
Changes
include/internal/catch_run_context.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_run_context.hpp b/include/internal/catch_run_context.hpp index c607b432..7a93af0d 100644 --- a/include/internal/catch_run_context.hpp +++ b/include/internal/catch_run_context.hpp @@ -70,7 +70,6 @@ namespace Catch { m_context.setConfig( m_config ); m_context.setResultCapture( this ); m_reporter->testRunStarting( m_runInfo ); - m_trackerContext.startRun(); } virtual ~RunContext() { @@ -98,6 +97,7 @@ namespace Catch { do { + m_trackerContext.startRun(); do { m_trackerContext.startCycle(); m_testCaseTracker = &SectionTracker::acquire( m_trackerContext, testInfo.name );