This page describes how to configure a Bamboo task to parse MSTest results.
Bamboo の .NET ビルダー タスク (NAnt など) は、タスクの一部としてテスト情報を解析しません。テスト結果を解析させるには、MSTest パーサーなどのテスト タスクを設定する必要があります。
Note that each test results file must have a unique name. You can use Bamboo variables to achieve this. Here is a customer-supplied example that includes the revision and build numbers in the name of the test file:
<Project-Test-Subfolder>\TestResults\<Project>TestResults-Rev_${bamboo.repository.revision.number}-Build_${bamboo.buildNumber}.trx
MSTest パーサー タスクを設定する方法は次のとおりです。
- ジョブのタスク設定タブに移動します(新しいプランを作成するとデフォルト ジョブとなります)。
- Click the name of an existing MSTest Parser task, or click Add Task and then MSTest Parser to create a new task.
タスク設定の更新
タスクの説明 Bamboo で表示されるタスクの説明を入力します。 このタスクを無効化 オンまたはオフにすることで、選択的にこのタスクを実行します。 MSTest テスト結果ファイル Enter the name of the test results file. The test file must be in MSTest format. For more information on MSTest, see this MSDN page. - 保存をクリックします。
