[Bamboo Knowledge Base]
This page describes how to configure a Bamboo MSTest Runner task. The MSTest Runner task runs and parses tests for .NET builds.
Before you begin:
To configure a Bamboo MSTest Runner task:
Update the task settings:
|Task Description||A description of the task, for display in Bamboo.|
|Disable this task||Check, or clear, to selectively run this task.|
The MSTest Runner executable that you wish to use for this task (e.g. "Visual Studio 2010"). The executable that you select will become one of the task's capability requirements (and hence, one of the job's requirements). For details, please see Configuring a job's requirements.
Specifically for MSTest, we recommend that the executable be defined with the Visual Studio IDE folder path. Example:
This will allow Bamboo to find the necessary resources.
|Environment Variables||Any extra environment variables you want to pass to your build. e.g. JAVA_OPTS="-Xmx256m -Xms128m".|
|Container||The test container, i.e. the file that contains the tests you want to run. For example, |
|Test Metadata||The path to the Test Metadata file relative to the working directory. For example, "MyApp\MyApp.vsmdi"|
|Result Filename||The file that you want to save the test results to. For example, |
|Run Configuration||The run configuration that you want to use. For example, |