In previous tutorial, we have seen configuring ReportNG with TestNG testng.xml and Now we will see configuring reportNG with Ant build.xml.
TestNG allows to define different ant testng tasks in build.xml file. The below are the few configuration options that can be used along with testng tasks.
1. Listeners - We can add Comma or space separated list of fully qualified class names that implements TestNG iTestListener or iReported as a listener to testng task.