Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

What are the different way to produce reports for TestNG results?

● TestNG offers two ways to produce a report
o Listeners implement the interface org.testng.testListener 
and are notified in real time of when a test starts,
passes, fails, etc…
o Reporters implement the interface org.testng.reporter and 
are notified when all the suites have been run by 
TestNG.
● The IReporter instance receives a list of objects that describe
the entire testrun
 
PREVIOUS NEXT
Tagged: #What #produce #reports #TestNG
ADD COMMENT
Topic
Name
5+5 =