Hello,
I'm looking at the TestNG support in Gradle and I'm encountering a problem
when trying to add a listener. (Background: Bamboo only reads JUnit reports,
but luckily TestNG comes with a listener that generates a JUnit XML report.)
My test configuration is:
test {
useTestNG()
options {
listeners << 'org.testng.reporters.JUnitXMLReporter'
}
}
When running gradle test, this results in the following message from TestNG:
Cannot load class from file: [org.testng.reporters.JUnitXMLReporter]
This looks like a bug to me, but I thought I'd check with the list first.
Levi