Details
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
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Mauro Talevi
made changes -
Summary | Failure exception being thrown in PrintStream reporters prevents the delegating reporter from completing | Step failure exception being thrown in PrintStream reporters prevents the delegating reporter from completing |
Description |
PrintStream reporters should not throw any exceptions in case of 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 now throw exceptions, as the the failures are handled by the ErrorStrategy. If one does wish this behaviour, one may decorate the reporter with the StepFailureScenarioReporterDecorator. |
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. |