On Jul 26, 2009, at 1:25 PM, Levi Hoogenberg wrote:

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.

Could you file a Jira an assign it to Tom?

Thanks

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to