JBehave
  1. JBehave
  2. JBEHAVE-566

Filter out tests at the scenario level only

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      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.

        Activity

        Hide
        Matt added a comment -

        I made a typo in the description: ...has a CHANCE to be evaluated.

        Show
        Matt added a comment - I made a typo in the description: ...has a CHANCE to be evaluated.
        Hide
        Edgardo Hames added a comment -

        I believe this is a duplicate of /Old_JBehave_Issues/516

        See Mauro's response to my question:

        http://www.mail-archive.com/user@jbehave.codehaus.org/msg00814.html

        Show
        Edgardo Hames added a comment - I believe this is a duplicate of /Old_JBehave_Issues/516 See Mauro's response to my question: http://www.mail-archive.com/user@jbehave.codehaus.org/msg00814.html

          People

          • Assignee:
            Unassigned
            Reporter:
            Matt
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: