stefanbirkner / system-rules

A collection of JUnit rules for testing code which uses java.lang.System.
http://stefanbirkner.github.io/system-rules
Other
546 stars 71 forks source link

StandardOutputStreamLog does not capture output when tests are run by Ant #8

Open npryce opened 11 years ago

npryce commented 11 years ago

If JUnit tests are run by Ant, StandardOutputStreamLog does not capture output.

stefanbirkner commented 11 years ago

Unfortunately I cannot reproduce the problem. I built the project https://github.com/stefanbirkner/standardoutputstreamlog-ant with a test using StandardOutputStreamLog, but the test is running successfully.

What versions of Ant, JUnit and Java do you use?

Maybe you could provide a small example project with a failing test. You can fork standardoutputstreamlog-ant therefore.

stefanbirkner commented 10 years ago

@npryce Any news?