@Kristian, thank you for your kind help. More below...

I have finally solved my immediate problem. The problem was introduced when
I made a change to a spring configuration file that caused an exception
during the spring context creation by spring due to the
*@org.springframework.test.context.ContextConfiguration* in my JUnit test
which extended
*org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests*
class.

When this happened all my tests failed but no interim output was produced as
normally expected. Thus the entire suite took a very long time to run (with
all tests failing on context creation) to run while not giving any feedback
on individual test status.

After all tests failed the entire buffered output was spit out in one big
burst it seems.

When I fixed my spring context file issue everything started working
normally and I strarted seeing interim passed, FAILED messages on the
console.

maven-surefire-plugin version did not seem to make any different with 2.8,
2.9, 2.10. I did not try 2.8.1.

As you can gather the scenario is rather complex and I do not have time to
make a reproducable test case. Should I still file an issue? I am not sure
whether the problem is a surefire-plugin issue of a spring-test issue.

Thanks for your advice and help.

--
View this message in context: 
http://maven.40175.n5.nabble.com/maven-surefire-plugin-redirecting-System-err-and-showing-delayed-output-from-junit-tests-tp4873335p4962045.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to