動的レポートを使用して、生成された XML ファイルのテストが datasource であるレポートを生成しています。
これは私の XML スニペットです
<?xml version="1.0" encoding="UTF-8"?>
<testng-results skipped="1" failed="2" total="3" passed="0">
<reporter-output>
</reporter-output>
<suite name="Default suite" duration-ms="61" started-at="2015-01-14T09:06:00Z" finished-at="2015-01-14T09:06:00Z">
<groups>
</groups>
<test name="Default test" duration-ms="61" started-at="2015-01-14T09:06:00Z" finished-at="2015-01-14T09:06:00Z">
<class name="TestScript.SampleTest">
<test-method status="FAIL" signature="testMethodOne()[pri:0, instance:TestScript.SampleTest@15ee671]" name="testMethodOne" duration-ms="29" started-at="2015-01-14T14:36:00Z" finished-at="2015-01-14T14:36:00Z">
<exception class="java.lang.AssertionError">
<message>
<![CDATA[expected [true] but found [false]]]>
</message>
<full-stacktrace>
私のレポートでは、次のものが必要です
1) suite name
2) class name
3) method name
4) status(pass/fail)
誰でもこれで私を助けてくれますか?