Documentation for Bamboo 4.1.x. Documentation for earlier versions of Bamboo is available too.

This page describes how to configure a MSTest parser executable for a Bamboo task.

Bamboo の .NET ビルダー タスク (NAnt など) は、タスクの一部としてテスト情報を解析しません。テスト結果を解析させるには、MSTest パーサーなどのテスト タスクを設定する必要があります。

(info) 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

To configure a MSTest Parser executable for a task:

  1. Navigate to the task configuration for the job (this will be the default job if creating a new plan).
  2. Click the name of the desired MSTest Parser task, or click Add Task and then MSTest Parser if creating a new task.
  3. タスク設定の更新
    • Task Description — Enter a description of the task, for display in Bamboo.
    • MBUnit Test Results File — 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.
  4. 保存をクリックします。
  • ラベルなし