Skip to content

SystemOutRule.getLog() does not work when I running all tests in a Test file #45

Closed
@July-G

Description

@July-G

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions