You might get more information if you browse the TestNG user mailing
list.  There are several threads discussing Maven Surefire with TestNG.
It depends also on the TestNG version that you use.  I still use the 4.7
version which is compliant with the current Maven Surefire plug-in (I
think it is 2.2).

>From an alternative repository a newer surefire SNAPSHOT version is
available, but again that information can be found on the TestNG user
mailing list archive.

Hope that helps.

Andreas



-----Original Message-----
From: Andy Olliver [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 27, 2006 3:31 PM
To: users@maven.apache.org
Subject: surefire - testng report - format & cross reference links

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

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

Reply via email to