jbehave-junit-runner
jbehave-junit-runner copied to clipboard
README unclear about JUnitReportingRunner.recommandedControls(configuredEmbedder());
The readme suggests adding the following line of code:
JUnitReportingRunner.recommandedControls(configuredEmbedder());
Suggested improvements:
1] Specify where this line of code goes? Does it go in the constructor of the JUnitStories subclass or in the configuration() overridden method?
2] Fix typo by changing recommandedControls to recommendedControls.
For 1). Take a look at an example project on using JBehave and JBehave-JUnit-Runner at https://bitbucket.org/skurlow/qs_jbehave/overview and take a look at the class com.stephenkurlow.calculator.runner.SelectiveJUnitStories
Awesome, I can see from the three classes in the runner directory (https://bitbucket.org/skurlow/qs_jbehave/src/de8c5e14f75a/bdd/src/main/java/com/stephenkurlow/calculator/runner/?at=master) that the line of code belongs in the constructor of the JUnitStories subclass.