Filter out tests at the scenario level only
-------------------------------------------

                 Key: JBEHAVE-566
                 URL: https://jira.codehaus.org/browse/JBEHAVE-566
             Project: JBehave
          Issue Type: Improvement
          Components: Core
            Reporter: Matt


The filtering by metafilter is applied twice: once to filter out stories and 
once to filter out scenarios.

Given the following situation: 

- A scenario is marked +Smoke
- The containing story is not tagged in any way
- A test run is executed using meta filter "+Smoke"

In this case, the scenario would not be run as the story is filtered out before 
the meta information of the scenario has a change to be evaluated.

Stories should not be ignored when they don't match a positive meta filter like 
"+Smoke" as their scenarios might match that meta filter.


--
My thoughts:

I think filtering by meta could only be applied to scenarios. Each scenario 
could inherit the meta of the containing story and be evaluated as such. 
Filtering out stories right away is not all that useful.

--
This message is automatically generated by JIRA.
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