This is the documentation for Bamboo 5.8. View this page for the

Unknown macro: {spacejump}

of Bamboo, or visit the latest Bamboo documentation.

This page describes how to configure a Bamboo task to run NUnit tests, and then parse the test results.

始める前に

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

NUnit ランナー タスクの設定方法:

  1. ジョブのタスク設定タブに移動します(新しいプランを作成するとデフォルト ジョブとなります)。
  2. 既存の NUnit ランナー タスクの名前をクリックするか、タスクの追加NUnit ランナーをクリックして、新しいタスクを作成します。
  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 実行時に含めるコマンド ライン オプションまたはスイッチを指定します。
    環境変数ビルドに渡す追加の環境変数。例: JAVA_OPTS="-Xmx256m -Xms128m"
  4. 保存をクリックします。

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

 

  • ラベルなし