This should be possible in the latests 6.6beta version of testng.
Changes been made to generate the testng-results.xml in the following format:
<test-method status="PASS" signature="setUp()[pri:0, instance:net.test.web.NewScript@35cf7491]" name="setUp" is-config="true" duration-ms="5814" started-at="2012-07-10T22:17:52Z" finished-at="2012-07-10T22:17:58Z">
<reporter-output>
</reporter-output>
</test-method> <!-- setUp -->
<test-method status="FAIL" signature="testFail()[pri:0, instance:net.test.web.NewScript@35cf7491]" name="testFail" duration-ms="5811" started-at="2012-07-10T22:17:58Z" finished-at="2012-07-10T22:18:04Z">
<reporter-output>
<line>
<![CDATA[<pre>expected [true] but found [false]</pre><br/><br>]]>
</line>
<line>
<![CDATA[<img src="" /><br>]]>
</line>
</reporter-output>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to