Hi Guys!
I'm trying to setup reportng for TestNg to work.
I tired to following xml template:
<suite ...>
<listeners>
<listener class-name="org.uncommons.reportng.HTMLReporter" />
<listener class-name="org.uncommons.reportng.JUnitXMLReporter" />
</listeners>
I'm not sure what <suite...> should do :) Or is this only a notation
that it should be between suits or what? I'm not using testng xml so i
don't have one.
I tried without it too, but in that case it throws a nullpointer
exception:
java.lang.NullPointerException
at
org.testng.xml.TestNGContentHandler.xmlListeners(TestNGContentHandler.java:
321)
I have the reportng file located in the project.
I also tried the annotation @Listeners and that helped but i have to
define that on each test class and i don't want to :)
Any help is appreciated!!
Thanks
Gergely.
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to
testng...@googlegroups.com.
To unsubscribe from this group, send email to
testng-users...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/testng-users?hl=en.