Hi

I have maven 2.0.4, using Surefire 2.0 to run TestNG unit tests.
The report generated by the maven-surefire-report-plugin is not ideal - I
wonder if there is anything I can do.

Under the 'Test Cases' heading, I have a list of method names that are not
prefixed with the package / class names.
In the example report shown from the testNG site, I see test cases in
format: 'net.sf.tacos.services.SiteMapTest#testInitialize'.
But I just get the method name, which makes it hard to know whats begin
executed..

Under the 'Failure Details' heading, I have the list of failed tests, again
I have only the method name, no package / class names, and the label and
location for all cross reference links are wrong.
Each link is in the format:    '[testNG group name]. [testNG group name]:'
( e.g 'functest.functest:' ), and the link is broken.

Is there perhaps a means to create a slightly more 'TestNG appropriate' HTML
report via the surefire report pluggin, or another plugin?
As an alternative I can use ANT to run my tests, and use the junitreport
task to create HTML reports - is the best I can do right now ?

thanks

Andy

Reply via email to