私はEclipseでJavaでSelenium WebDriver + TestNGを使用しています。通常の TestNG レポートではなく、ReportNG を使用してより良いレポートを生成したいと考えています。reportng-1.1.2.jar とvelocity-dep-1.4.jar でビルド パスを構成しました。また、[プロジェクト] > [プロパティ] > [TestNG] > [デフォルトのリスナーを無効にする] からデフォルトの TestNG レポートを無効にしました。現在、テストを完全なテスト スイートとして実行する testNg.xml ファイルを作成しています。xml ファイルの内容は次のとおりです。
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="5" skipfailedinvocationCounts="false" verbose="1" preserve-order="true" name="testingXML" junit="false" parallel="false" annotations="JDK">
<test verbose="2" name="com.src.com.pcrm.pageobjects.*" junit="false" annotations="JDK">
<testng classpathref="test-path"
outputdir="${test-results.dir}"
haltonfailure="true"
useDefaultListeners="false"
listeners="org.uncommons.reportng.HTMLReporter,org.uncommons.reportng.JUnitXMLReporter">
<xmlfileset dir="." includes="testng.xml"/>
<sysproperty key="org.uncommons.reportng.title" value="My Test Report"/>
</testng>
<classes>
<class name="com.pcrm.pageobjects.HomeTest"/>
<methods>
<include name="testManadatoryFieldsOnHomePage"/>
<include name="testIsLogoDisplayed"/>
<include name="testUrlCheck"/>
</methods>
しかし、この xml ファイルを実行すると、ReportNG レポートは生成されませんでした。何が悪いの?助けていただければ幸いです。