I am fairly new to maven2. After I run "mvn test" I see output like:

Compiling 1 source file to /home/smore/wip/hello/target/test-classes
[INFO] [surefire:test]
[INFO] Setting reports dir: /home/smore/wip/hello/target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
[surefire] Running HelloTest
[surefire] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 0.05
sec <<<<<<<< FAILURE !!
[INFO] ------------------------------------------------------------------------

Then on failure I have to manually:
grep 'FAILURE' /home/smore/wip/hello/target/surefire-reports/HelloTest.txt
to see that testHello2 actually failed.

Can this be automated by some plugin to display the name of the test
that actually failed ?

-Thanks
Steve More

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to