JBehave
  1. JBehave
  2. JBEHAVE-721

Add a beforeStep() method in the StoryReporter

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.4
    • Fix Version/s: 3.6
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      There should be a beforeStep() method in the StoryReporter to allow users to implement there own code before each step starts. The existing successful(), failed() etc behave like an afterStep() method already.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Summary Create a beforeStep() method in the StoryReporter Add a beforeStep() method in the StoryReporter
        Mauro Talevi made changes -
        Assignee Mauro Talevi [ maurotalevi ]
        Mauro Talevi made changes -
        Fix Version/s 3.6 [ 17721 ]
        Affects Version/s 3.5.4 [ 18081 ]
        Affects Version/s 3.6 [ 17721 ]
        Mauro Talevi made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Mauro Talevi added a comment -

        Added step_monitoring.story in trader example to verify behaviour.

        Show
        Mauro Talevi added a comment - Added step_monitoring.story in trader example to verify behaviour.
        Mauro Talevi made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Graham Abell
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: