BeforeScenario ignores StepScope #95

Closed
kbrandwijk opened this Issue Jun 15, 2011 · 1 comment

Comments

Projects
None yet
2 participants

When putting a method with a BeforeScenario attribute inside a class with a StepScope attribute, I would expect the execution of the BeforeScenario method to respect the StepScope attribute on the class it is contained in.

The alternative is tagging the feature, and limiting the BeforeScenario to that tag, but that's a workaround that results in an extra tag on every feature, which is undesired.

Collaborator

gasparnagy commented Sep 6, 2011

Thanks to WizzAir (delayed flight) i could fix it (dedicated to Phil). It's on the RefactorDi branch, will be merged back to trunk soon.

gasparnagy closed this Sep 6, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment