JUnit System Rules Examples

A demonstration how to handle reading/writing STDOUT, STDERR and System Properties, using Environment Variables or custom Security Managers in JUnit tests using the System Rules.

Running the Tests with Gradle

gradle test

Please feel free to have a look at my blog at for more detailed information.

2016 Micha Kops /