Details
-
Type:
New Feature
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.4
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Number of attachments :
Description
With the addition of the GivenScenarios feature, almost often will be necessary to inform more than one StepsCandidate class for one Scenario class.
The problem is that those StepsCandidates could have same methods, or could be extending the same parent class and sharing same method.
Jbehave will get the first occurrence of method that match textual sentence, which not necessarily will be the desired one.
So I would like that jbehave had some way to stablish a weight, or an order, or maybe indicate a default steps class (or anything like that) where I could indicate which is the best path it should be taken.