Rev. | Time | Author | Message |
---|---|---|---|
r8 | 2012-02-18 21:38:17 | ![]() |
バージョン更新 |
r7 | 2012-02-18 20:58:50 | ![]() |
無視リスト対応 オプション修正 |
r6 | 2011-10-30 23:16:28 | ![]() |
コミット忘れをアップ ワースト(最大値)表示対応 テスト結... |
r5 | 2011-10-25 23:02:32 | ![]() |
フィルターxmlにコメントがあると例外で停止するバグを修正 ... |
r4 | 2011-10-23 22:02:21 | ![]() |
ライセンス修正 |
r3 | 2011-10-22 16:03:59 | ![]() |
高速化 |
r2 | 2011-10-17 00:50:30 | ![]() |
初回リリース |
r1 | 2011-10-17 00:47:10 | ![]() |
初期フォルダ設定 |
readme.txt for c4ju =================== -------------------------------------------------- Name c4ju - CCCC output xml to junit xml -------------------------------------------------- Usage c4ju [options] file1.xml ... Process files listed on command line. If the filenames include '-', read a list of files from standard input. -------------------------------------------------- Command Line Options --help : generate help message. --out_xmlfile=<path> : path of xml report. --filter=<path> : path of test filter xml. --excluding=<file> : read the ignore list from a file. --verbose : displays detailed messages. -------------------------------------------------- Description CCCC 出力xml から filter xml に記述した式でテストを行い xml report を出力します。 ==== sample filter xml ==== <?xml version="1.0" encoding="utf-8"?> <CCCC_Project> <module_summary> <lines_of_code value="value <= 120" /> </module_summary> <procedural_detail> <member_function> <lines_of_code value="value <= 30"/> <McCabes_cyclomatic_complexity value="value <= 30" /> <lines_of_comment /> <lines_of_code_per_line_of_comment value="value <= 5" /> <McCabes_cyclomatic_complexity_per_line_of_comment value="value <= 30" /> </member_function> </procedural_detail> </CCCC_Project> ============================ 対応するノードの属性に式を記述します。 value にテスト対象の属性値が代入されます。 -------------------------------------------------- Use Excluding --excluding=<file> オプションを使用することで任意のテスト結果を無視(スキップ)することができます。 file には、無視したいテストの条件が書かれたファイルを指定します。 条件には、無視したいテストの名前を一行ごとに記述します。 (正規表現が使用できます。) ==== sample excluding txt ==== .*Test.* .*anonymous.* ============================== -------------------------------------------------- Jenkins Job Sample ======= job bat file ======= SET TARGETDIR=%WORKSPACE%\.cccc cd /d %TARGETDIR% dir /s /b *.xml | call c4ju --filter="filter.xml" --out_xmlfile="%WORKSPACE%\test_default.xml" - ============================