Difference between Cucumber Hooks (Java) and SpecFlow Hooks( C#)
Cucumber Hooks
[BeforeTestRun] - Before you ran the entire suite
[AfterTestRun] - After you ran the entire suite
[BeforeFeature] - Before you ran the Feature
[AfterFeature] - After you ran the Feature
[BeforeScenario] - Before you ran the Scenario
[AfterScenario] - After you ran the Scenario
[BeforeStep] - Beforethe every scenario step
[AfterStep]- after completing the every scenario step
SpecFlow Hooks
@Before
@After
Cucumber Hooks
[BeforeTestRun] - Before you ran the entire suite
[AfterTestRun] - After you ran the entire suite
[BeforeFeature] - Before you ran the Feature
[AfterFeature] - After you ran the Feature
[BeforeScenario] - Before you ran the Scenario
[AfterScenario] - After you ran the Scenario
[BeforeStep] - Beforethe every scenario step
[AfterStep]- after completing the every scenario step
SpecFlow Hooks
@Before
@After
No comments:
Post a Comment