jbehave-junit-runner icon indicating copy to clipboard operation
jbehave-junit-runner copied to clipboard

Show no result when override candidateSteps() Method instead of stepsFactory()

Open mstachniuk opened this issue 10 years ago • 0 comments

When I override candidateSteps() Method (I know it is @deprecated) in my Test Class instead of stepsFactory(), I see no progress in JUnit Tab.

To reproduce this issue remove in ExampleScenarioJUnitStories stepsFactory() and write this:

@Override
public List<CandidateSteps> candidateSteps() {
    return new InstanceStepsFactory(configuration(), new ExampleSteps()).createCandidateSteps();
}

http://i.imgur.com/ZncO3JU.png

mstachniuk avatar Mar 11 '14 13:03 mstachniuk