[GRADLE-582] Impossible to add listeners Created: 01/Aug/09 Updated: 04/Jan/13 Resolved: 23/Sep/09
|Reporter:||Levi Hoogenberg||Assignee:||Tom Eyckmans|
When using the following configuration:
Running gradle test results in the following message from TestNG:
Cannot load class from file: [org.testng.reporters.JUnitXMLReporter]
It seems as if the toString() of the listener list is passed as a parameter, whereas a join(', ') should be applied first.
|Comment by Tom Eyckmans [ 23/Sep/09 ]|
fix committed + I've made the useDefaultListener option available through the TestNG options so all aspects of the listeners can be controlled.
We do set useDefaultListeners to false when the testReport is disabled, but by making the useDefaultListener option available it can be controlled in the same way as when using the Ant task directly in stead of calling disableTestReport on the test task.
|Comment by Hans Dockter [ 24/Sep/09 ]|