@joebandenburg joebandenburg released this Apr 11, 2016

Assets 20

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.