Multi-threading is not aware of RunContext.givenStory

Description

Multi-threading is not aware of RunContext.givenStory. In case of a story with a GivenStory it will throw:

Failed to run story org/jbehave/examples/trader/stories/trader_sells_all_stocks.story
java.lang.RuntimeException: Delayed methods already invoked
at org.jbehave.core.reporters.ConcurrentStoryReporter.invokeDelayed(ConcurrentStoryReporter.java:286)

The StoryRunner should invoke the delayed methods according the givenStory flag of the RunContext.

Assignee

Unassigned

Reporter

Mauro Talevi

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure