Documentation for Bamboo 4.2.x. Documentation for other versions of Bamboo is available too.

This page describes how to configure a NUnit Runner executable for a Bamboo task.

When creating a new job or configuring an existing one, you need to specify the tasks that will execute the job's builds. You must specify an executable for each task. If you specify an Ant, Grails or Maven executable, you will also need to choose a JDK.

When creating a new plan, you can configure the tasks for the plan's default job.

An executable is a program external to Bamboo used to automate processes. Generally, executables compile source code to generate compiled executable files (referred to as artifacts in Bamboo). Ant, Maven, MSBuild or PHPUnit are just some examples of executables that can be used as part of your build process.

New executables can be defined as capabilities in Bamboo. Once an executable has been defined in Bamboo, it can be configured as part of a task.

Configuring a NUnit Runner executable for a task

始める前に

  • .NET builder tasks in Bamboo (e.g. NUnit Runner) 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.

To configure a NUnit Runner 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 NUnit Runner task, or click Add Task and then NUnit Runner if creating a new task.
  3. タスク設定の更新

    設定説明
    タスクの説明タスクの説明。これは Bamboo で表示されます。
    実行可能ファイルThe NUnit Runner executable that is available to perform the task. The executable that you select will become one of the task's (and so, the job's) requirements.
    You can add other executables, if required.
    NUnit テスト ファイルThe name of an assembly (.dll), Visual Studio project (.csproj), or NUnit Test Suite (.nunit) to test. See http://www.nunit.org/.
    結果ファイル名XML 結果ファイルに使用する名前。
    実行するテスト実行するテスト ケース、テスト フィクスチャ、または名前空間の名前。
    含めるテスト カテゴリテストの実行に含めるテスト カテゴリをカンマ区切りで1つ以上指定します。
    除外するテスト カテゴリテストの実行から除外するテスト カテゴリをカンマ区切りで1つ以上指定します。包含よりも除外の方が優先されます。
    コマンド ライン オプションNUnit 実行時に含めるコマンド ライン オプションまたはスイッチを指定します。
  4. 保存をクリックします。

For more information on NUnit, see http://www.nunit.org/.

  • ラベルなし