This page describes how to configure a Bamboo MSTest Runner task. The MSTest Runner task runs and parses tests for .NET builds.
- .NET builder tasks in Bamboo (e.g. NAnt) do not parse test information as part of the task. You must configure a test task (e.g. MSTest Parser), if you want test results from the builder task to be parsed.
- If Bamboo is running as a Windows service, ensure that the Service is running as a local user instead of a System User (Bamboo will install itself as the SYSTEM user on Windows).
To configure a Bamboo MSTest Runner task:
- Navigate to the Tasks configuration tab for the job (this will be the default Job if creating a new plan).
- Click the name of an existing MSTest Runner task, or click Add Task and then MSTest Runner to create a new task.
|タスクの説明||A description of the task, for display in Bamboo.|
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.
|環境変数||ビルドに渡す追加の環境変数。例： 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"|
|結果ファイル名||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,