JBehave

Step failure exception being thrown in PrintStream reporters prevents the delegating reporter from completing

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.5.8, 3.0
  • Component/s: Core
  • Labels:
    None
  • Number of attachments :
    0

Description

PrintStream reporters should not throw any exception upon step failures, since they prevent the delegating reporter from completing the list of all delegate reporters. This may manifest itself as the stats not be being written.

In general, reporters should not throw any exceptions, as the the failures are handled by the ErrorStrategy.

If one does want reporters to throw exceptions on failure, one may decorate the reporter with the StepFailureScenarioReporterDecorator.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: