タグ付き行のレポート作成

タグ付き行に固有の情報を含むテスト カバレッジ レポートを生成するには、まずソース コードにタグを入力する必要があります。このレポートは、cobtcreport(UNIX) または TCReport(Windows) を使用して生成できます。

レポートをフォーマットして表示する前に、テスト カバレッジを実行してテスト カバレッジ バイナリ ファイル (.tcz ファイル) を作成する必要があります。

  1. 次のコマンドを入力します。
    Windows:
    tcreport filename taglines(tagfile) [options]
    UNIX:
    cobtcreport filename taglines(tagfile) [options]

    filename は、レポートの作成に使用する .tcz ファイル、tagfile は、使用するタグを指定するファイル、options は、cobtcreport(UNIX) または tcreport(Windows) の他のオプションです。

    次に例を示します。

    Windows:
    tcreport myreport.tcz taglines(tagfile.txt)
    UNIX:
    cobtcreport myreport.tcz taglines(tagfile.txt)