Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Add a StoryReporter method before starting each individual example
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 ?
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 ?