Closed
Description
Using system-rules 1.16 with Junit, Intellij IDEA and Maven
It works just fine when I run my test one by one from my IDEA right click menu, say "Run 'testCanNotRestart()'".
But does not work when I run all test methods in the test file, in my case there are other 4 test methods there.
Also, it will fail when i run "maven test”.
In the above two fail cases, the SystemOutRule.getLog() just return nothing.