Issue Type: Bug Bug
Affects Versions: 3.6.7
Assignee: Unassigned
Attachments: etsy_browse.story, etsy_browse_with_givenStories.story
Components: Core
Created: 18/Jun/12 10:50 AM
Description:

Running tests with meta filtering exclude scenarios from GivenStories if they do not matches meta filters.

It forces to put in dependent stories/scenarios the same meta words as in top level scenario. That causes double executions of those scenarios - first time because they are in GivenStories and second time because they march meta filter.

Should be:
GivenStories override meta filters

Actual:
Meta filters override GivenStories.

How to reproduce:
1. Create story file with some scenario without any meta words.
2. Create another story file with some scenario. In GivenStories add dependency to story file from 1). Add some meta filter.
3. Run test with meta filtering.

Expected:
Executed scenario from story file 1 and 2
Actual:
Executed scenario from story file 2 and skipped scenario from story file 2.

In attachment I have putted example story files. Put them In jbehahve example eatsy-selenium/java-spring and run test with maven command:
mvn3 clean install -Dmeta.filter="+givenstories"

Environment: mvn 3.0.4
Java version: 1.6.0_26
Project: JBehave
Priority: Major Major
Reporter: Zbigniew Zabost
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to