Cumulative credible maven project hierarchy reports as XML for eclipse?

I have a project hierarchy that is built using maven. How can I run all tests in the entire hierarchy immediately from an eclipse and easily go to failures?

the maven surefire plugin displays console exit information, but it is tedious to find errors there. It also generates XML report files that I can easily open in the regular JUnit view for eclipse, but there are many of them and it is hard to find failed test files. The maven surefire report plugin allows you to aggregate all test results using mvn surefire-report:report-only -Daggregate=true, but only in HTML format. I would like it to be the aggregate of all the test results in the JUnit eclipse view - the same as I get when using "Run as JUnit-Test".

(Ideally, I would start all unittests with "Run as JUnit-Test", but I can only do this for one project, and not for all projects in the workspace.)

+4
source share

All Articles