前のトピック: junitlisa Ant タスク次のトピック: Ant および JUnit の使用例


junitlisareport Ant タスク

junitlisareport タスクまたは標準の junitreport タスクを使用して、HTML ベースのレポートを作成できます。

junitlisareport タスクは、適切なデフォルトが指定されていることを除き、標準の junitreport エレメントのサブクラスです。 これは以下のコードと同等です。

<junitreport todir="${testReportDir}">

   <fileset dir="<todir specified in the junitreport tag>">
    <include name="TEST-*.xml"/>
  </fileset>

   <report format="frames" todir="<todir specified in the junitreport tag>">/>

</junitreport> 

独自のファイル セットおよびレポートを指定できます。 タスクが junitreport の直接のサブクラスであるため、junitreport が持つ属性およびネストされたエレメントがすべてサポートされます。

ほとんどの場合、継承された toDir 属性を指定することをお勧めします。デフォルトでは、現在の作業ディレクトリになります。