Menu

FrontPage

Eclipseプラグイン
Eclipse小技集
リファクタリング講座
テスティングフレームワーク JUnit
MSDEについて



The 20 newest affair
2010-09-092010-09-082010-09-072010-09-062010-09-012010-08-312010-08-272010-08-242010-08-232010-08-172010-08-162010-07-302010-07-212010-07-132010-06-272010-06-182010-06-172010-06-16

djunit-coverage-reportタスク


属性一覧


属性名設定できる値必須
serfilejcoverage.serファイルyes
srcdirソースファイルのディレクトリyes
destdirカバレッジレポートの出力先yes
charsetカバレッジレポート(HTMLファイル)のcharsetno
srcfileencodingソースファイルのencodingno

タスクの定義(taskdef)  Λ

このタスクを利用可能にするためにbuild.xmlで、

<taskdef classpath="./lib/djunit.jar" resource="djunittasks.properties"/>

が必要です。

使用例  Λ


サンプルはdjUnit Downloadからダウンロードできます。

<djunit-coverage-report serFile="./jcoverage.ser" srcdir="./src" destdir="report" charset="Shift_JIS" srcfileencoding="Windows-31J">
   <classpath location="./lib/jcoverage-djunit-1.0.5.jar"/>
   <classpath location="./lib/djunit.jar"/>
</djunit-coverage-report>

「jcoverage-djunit-1.0.5.jar」「djunit.jar」は、djUnitプラグインのインストールフォルダのlibフォルダにあります。


Attached File: [Attached File All List]

Lastmodified: 2010-08-24 (火) 02:09:45 (16d)