[Bamboo Cloud docs]
[Bamboo Knowledge Base]
This page describes how to configure a Bamboo task to parse MSTest results.
.NET builder tasks in Bamboo (for example NAnt) do not parse test information as part of the task. To have the test results parsed, you need to configure a test task such as MSTest Parser.
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
Related pages:
To configure a MSTest Parser task:
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. |
MSTest 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. |