KentBeck/junit — pull request #457 by mmichaelis (2012-06-25 17:59:26+00:00)
Title: Add trace method "skipped" to TestWatcher

Continues [Issue 296]: TestWatchman.failed should not be invoked for AssumptionViolatedExceptions

The solution introduced breaks with the general concept of the TestWatcher which is to call a tracing method for any state the test reaches.

This commit introduces a new method skipped() to the TestWatcher. Quirk: The AssumptionViolatedException is in package "internal".

[Issue 296]: "TestWatchman.failed should not be invoked for AssumptionViolatedExceptions"