Details
Assignee
UnassignedUnassignedReporter
Damien GrandemangeDamien GrandemangePriority
Medium
Details
Details
Assignee
Unassigned
UnassignedReporter
Damien Grandemange
Damien GrandemangePriority
Created November 19, 2015 at 6:13 PM
Updated November 19, 2015 at 6:13 PM
JBehave version : 4.0.4
When declaring meta-infos into a story, at the story level, and also at the scenario level, only the story level meta informations appear in the XML report.
scenario level meta-informations are not reported.
Looking into the JBehave source code, i've found that the
StoryReporter
interface provide a
scenariometa()
method.
Thing is :
StoryReporter.scenariometa()
method is invoked by the now deprecated
org.jbehave.core.embedder.StoryRunner
in the
runCancellable()
method (see line 316).
StoryRunner
seems deprecated, and the
PerformableTree
is now preferred and used.
But looking at this
PerformableTree
class, and especially on the
PerformableTree.PerformableScenario.perform(RunContext context)
method (see line 866) , there is no more call to the
StoryReporter.scenariometa()
, as it was done in the
StoryRunner
.
See the joined sample Maven project to reproduce the issue, and especially the
README.mediawiki
for more infos.