Details
-
Type: Bug
-
Status: Open
-
Priority: Critical
-
Resolution: Unresolved
-
Affects Version/s: 3.x
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Environment:Jbehave 3.9.5, Intellij 13.1, OSx 10.10.1
-
Number of attachments :
Description
When i run my scenario that are using multiple steps files, the method that are annotated with @BeforeScenario runs for each steps file.
Im excpecting it to only run per scenario not per steps file
All the methods annotated with @BeforeScenario will run before each scenario, regardless of which steps file the are contained in.
Can you provide a sample project reproducing your behaviour?