タグ付き行に固有の情報を含むテスト カバレッジ レポートを生成するには、まずソース コードにタグを入力する必要があります。このレポートは、cobtcreport(UNIX) または TCReport(Windows) を使用して生成できます。
レポートをフォーマットして表示する前に、テスト カバレッジを実行してテスト カバレッジ バイナリ ファイル (.tcz ファイル) を作成する必要があります。
tcreport filename taglines(tagfile) [options]
cobtcreport filename taglines(tagfile) [options]
filename は、レポートの作成に使用する .tcz ファイル、tagfile は、使用するタグを指定するファイル、options は、cobtcreport(UNIX) または tcreport(Windows) の他のオプションです。
次に例を示します。
tcreport myreport.tcz taglines(tagfile.txt)
cobtcreport myreport.tcz taglines(tagfile.txt)