Details
Description
PrintStreamStoryReporter and subclasses have the reportErrors flag that prints the failure stack trace. This is adequate but a rather crude approach.
In most use cases, we need to report the failure more meaningfully, be it an outcome failure or a system failure.
Issues to improve:
- show failure message after step and stack trace after entire scenario (only if failure trace flag is set)
- provide an outcomes table that allows to verify multiple outcomes and report them upon failure
Also ensure that the failure trace reporting is easily configurable via the StoryReporterBuilder.
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Mauro Talevi
made changes -
Description |
PrintStreamStoryReporter and subclasses have the reportErrors flag that prints the failure stack trace. This is adequate but a rather crude approach.
In most use cases, we need to report the failure more meaningfully, be it an assertion failure or a system failure. Issues to address/review: - show failure message and/or stacktrace after step or entire scenario? - provide a table-based outcome output? - provide ability to report a map of failed expected/actual outcomes? Also ensure that a more verbose behaviour is configurable easily via the StoryReporterBuilder. |
PrintStreamStoryReporter and subclasses have the reportErrors flag that prints the failure stack trace. This is adequate but a rather crude approach.
In most use cases, we need to report the failure more meaningfully, be it an outcome failure or a system failure. Issues to improve: - show failure message after step and stack trace after entire scenario (only if failure trace flag is set) - provide an outcomes table that allows to verify multiple outcomes and report them upon failure Also ensure that the failure trace reporting is easily configurable via the StoryReporterBuilder. |
Mauro Talevi
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |