stefanbirkner/system-rules — pull request #22 by binkley (2014-11-22 11:32:19+00:00)
Title: Add log-on-failure mode

Add a new mode, log-on-failure. It should:

* Continue appending to the saved log
* Print to the original streams for failed tests
* This is designed to improve developer convenience, keeping passing tests quiet and making failing tests noisy.

Rebased as suggested. I also squashed some commits to make it clearer what you are getting:

* Commit binkley/system-rules@fb4c976 could be cherry-picked separately; it has `PrintStreamLog` extends `TestWatcher` rather than `ExternalResource`
* Commit binkley/system-rules@cc86caf add log-on-failure mode, requiring previous commit to get at `TestWatcher#failed(Throwable, Description)`.

Cheers,
--binkley