Skip to content

1.1.0

Compare
Choose a tag to compare
@joebandenburg joebandenburg released this 11 Apr 17:15

This release improves reporting.

Changes:

  • Cuppa now marks a test as skipped if it was not run due to a hook failure. Previously Cuppa did not report anything for such tests.
  • Introduced Reporter#testHookFail and Reporter#blockHookFail to distinguish between test hooks (beforeEach/afterEach) and block hooks (before/after). Reporter#testHookFail is passed the test that is associated with the test hook.
  • Added Configuration#setAdditionalReporter to allow a configuration provider to specify an additional reporter. This reporter will be called in addition to the primary reporter provided to Cuppa by the runner.