TestNG
このページでは、Bamboo タスクで TestNG のテスト結果をパースするように設定する方法を説明します。
始める前に
- Bamboo の java ビルダー タスク(Maven など)は、タスクの一部としてテスト情報を解析します。テスト結果がビルダー タスクの一部として生成される場合、テスト タスクを設定する必要はありません。
TestNG パーサー タスクを設定する方法は次のとおりです。
- ジョブのタスク設定タブに移動します(新しいプランを作成するとデフォルト ジョブとなります)。
- 既存の TestNG タスクの名前をクリックするか、[タスクを追加] をクリックしてから [TestNG] をクリックして、新しいタスクを作成します。
Update the task settings:
Task Description
Enter a description of the task, for display in Bamboo.
Disable this task
Check, or clear, to selectively run this task.
Specify custom results directories
Enter the name of the test results directory (or multiple directories, separated by commas). You can also use Ant-style patterns such as*/test-reports/.xml
. Please specify file path relative to your job build's root directory. Do not specify an absolute path. For jobs that use CVS, the job build's root directory is<bamboo-home>/xml-data/build-dir/JOB_KEY/<cvs-module>
.- 保存をクリックします。