Meta data declared at the scenario level are not reported

Description

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.

Attachments

1
  • 19 Nov 2015, 06:07 PM

Activity

Details

Assignee

Reporter

Priority

Created November 19, 2015 at 6:13 PM
Updated November 19, 2015 at 6:13 PM

Flag notifications