MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / beginScenario

Method beginScenario

src/CukeCommands.cpp:21–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void CukeCommands::beginScenario(const TagExpression::tag_list& tags) {
22 if (!hasStarted) {
23 hasStarted = true;
24 HookRegistrar::execBeforeAllHooks();
25 }
26
27 currentScenario = std::make_shared<Scenario>(tags);
28 HookRegistrar::execBeforeHooks(currentScenario.get());
29}
30
31void CukeCommands::endScenario() {
32 HookRegistrar::execAfterHooks(currentScenario.get());

Callers 1

runMethod · 0.45

Calls 1

getMethod · 0.80

Tested by

no test coverage detected