JBehave
  1. JBehave
  2. JBEHAVE-728

Add a StoryReporter method before starting each individual example

    Details

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

      Description

      I would like to write a StoryReporter that graphs the run time of each scenario in rrd, e.g. run a use case after login and show how the reponse time varies over time. This should work well with the beforeScenario/afterScenario methods, if the scenarios are executed one (i.e. do not use an examples table).
      If a scenario however uses an example table, the individual before/after events are not reported, so the only way to do this is to count the success/failure calls, which looks kind of error-prone to me.

      Can we add a beforeExampleScenario method to the StoryReporter ?

        Activity

        Hide
        Alexander Lehmann added a comment -

        After looking more closely I noticed that the method already exists and is called example()

        Show
        Alexander Lehmann added a comment - After looking more closely I noticed that the method already exists and is called example()
        Alexander Lehmann made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.5.4 [ 18081 ]
        Resolution Duplicate [ 3 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Alexander Lehmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: