I'm not sure if this is an artifact or I'm not setting the configurations
correctly
To reproduce:
- Start from the jBehave-spring-archetype
- Configure the Embedder I tried both setting it on the constructor. Ie
o
configuredEmbedder().embedderControls().doGenerateViewAfterStories(true).doIgnoreFailureInStories(false).doIgnoreFailureInView(true).doVerboseFailures(true).useThreads(2).useStoryTimeoutInSecs(60);
- and overriding configuredEmbedder method. Ie
o @Override public Embedder configuredEmbedder() {
o //this line has no problems
o
super.configuredEmbedder().useMetaFilters(Arrays.asList("-theme"));
o //this is the problem line
super.configuredEmbedder().embedderControls().doGenerateViewAfterStories(true).doIgnoreFailureInStories(false).doIgnoreFailureInView(true).doVerboseFailures(true).useThreads(2).useStoryTimeoutInSecs(60);
o
o return super.configuredEmbedder();
o }
- Either one will reproduce the issue. Notice that in the ContextView
it shows "null" for the Scenario name. If you run the same stories without
using embedderControls the name displays correctly
Let me know if you want me to open an jira issue
Thanks,
Enrique