I patch surefire-reporting 2.0 to include an report for pom packaging.
In 2.0, report is done only if language is java. In my patch it is also apply on pom packaging file.
When packaging is pom, it checked for modules and create a report page that contains the total number of test executed, failed, ...
If there is some failure, test in failure are listed ordered by module. It supports several level of modules. A hyperlink on the module title allow to navigate to the reporting page of the module
I tried it on a sample project:
|-------> sample 1 (jar with some failure in testcase)
|-------->sample 2 (jar with some failure in testcase)
|-------->sample 3 (packaging pom)
|-------->sample 4 (jar with some failure in testcase)
Aggregated report looks like report.jpg
Problem is that before running the plugin tests must have been executed.
It might be a nice feature to include that patch in surefire-reporting ...
> Aggragated surefire report from modules
> Key: MSUREFIREREP-22
> URL: http://jira.codehaus.org/browse/MSUREFIREREP-22 > Project: Maven 2.x Surefire report Plugin
> Issue Type: New Feature
> Affects Versions: 2.0
> Environment: all
> Reporter: Bugittaa Pahasti
> Attachments: patch.patch, report.JPG
> Aggregated surefire report from child modules. I think this has been discussed in the mailing lists, but seemed not to be on Jira yet.