JBehave
  1. JBehave
  2. JBEHAVE-567

Excluded (filtered-out) scenarios are reported as pending as well

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.5
    • Fix Version/s: 3.5
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      1

      Description

      Excluded (filtered-out) scenarios are reported as pending as well.

      Set metadata on scenario and set metafilter so the scenario is ignored. It will be reported as pending too.

      this bug has been probably introduced by JBEHAVE-471. The problem is caused by org.jbehave.core.reporters.PostStoryStatisticsCollector.afterScenario() as the method does not differ if no steps has ben executed because scenario is not implemented/pending or because scenario was excluded.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Assignee Mauro Talevi [ maurotalevi ]
        Fix Version/s 3.5 [ 17393 ]
        Hide
        Jaroslav Sedlacek added a comment -

        Suggested patch for this issue including updated JUnit test.

        Show
        Jaroslav Sedlacek added a comment - Suggested patch for this issue including updated JUnit test.
        Hide
        Paul Hammant added a comment -

        patch applied

        Show
        Paul Hammant added a comment - patch applied
        Paul Hammant made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Mauro Talevi [ maurotalevi ] Paul Hammant [ paul ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Paul Hammant
            Reporter:
            Jaroslav Sedlacek
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: