JBehave
  1. JBehave
  2. JBEHAVE-547

StoryRunner.runParametrisedScenariosByExamples does not execute the examples after the first failure

    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
    • Environment:
      Windows XP, Eclipse Helios
    • Number of attachments :
      0

      Description

      Currently, the method StoryRunner.runParametrisedScenariosByExamples does not
      check the configuration and whenever a step fails all subsequent examples are
      reported as not performed.

      A simple fix would be to do this before calling the runScenarioSteps method:

      if(context.configuration().storyControls().resetStateBeforeScenario())

      { context.resetState(); }

      Thanks

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Fix Version/s 3.5 [ 17393 ]
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: