Parameterised scenarios are skipped when filtered by story meta

Description

Scenarios parameterised by examples are skipped if scenario level meta filtering is used. This seems to be a direct result of changes introduced by JBEHAVE-846.

eg:

Execution of the above results in the before and after steps being executed but all scenario steps being skipped.

Debugging the code shows that the check:


in the method:

StoryRunner.java


always passes resulting in 'continue' and the scenario execution being skipped.

Using the example above, context.filter='+foo *', but because the meta parameter 'foo' is at scenario level and not at examples table level, parameterMeta is empty and the filter.allow() is false resulting in 'continue'.

Assignee

Mauro Talevi

Reporter

Paul Brunckhorst

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure