JBehave
  1. JBehave
  2. JBEHAVE-841

Story execution continues with steps even of failure of GivenStory

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.8
    • Fix Version/s: 3.7.2, 3.8
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      In case of sceanrio level given story as follows:

      Meta:
      @storyName my.story
      Scenario: Testing given story failure
      Meta:
      @index 1
      @dummy
      GivenStories: test.story
      Given the given story is successfull
      Then execute then in my.story

      Even when the GivenStory[test.story] fails, the execution continues with the next steps in the calling story[ie my.story]. which should not be the case.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Assignee Mauro Talevi [ maurotalevi ]
        Fix Version/s 3.7.2 [ 18853 ]
        Hide
        Mauro Talevi added a comment -

        Fixed and verified by given_non_successful.story in trader example.

        Show
        Mauro Talevi added a comment - Fixed and verified by given_non_successful.story in trader example.
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mauro Talevi made changes -
        Fix Version/s 3.8 [ 19104 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Ajay Singh
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: