Loading...
[Bamboo Knowledge Base]
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 ランナー タスクの設定方法:
タスク設定の更新
タスクの説明 | タスクの説明。これは 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" |
For more information on NUnit, see http://www.nunit.org/.