TestNG

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

このページでは、Bamboo タスクで TestNG のテスト結果をパースするように設定する方法を説明します。

始める前に

  • Bamboo の java ビルダー タスク(Maven など)は、タスクの一部としてテスト情報を解析します。テスト結果がビルダー タスクの一部として生成される場合、テスト タスクを設定する必要はありません。

TestNG パーサー タスクを設定する方法は次のとおりです。

  1. ジョブのタスク設定タブに移動します(新しいプランを作成するとデフォルト ジョブとなります)。
  2. 既存の TestNG タスクの名前をクリックするか、[タスクを追加] をクリックしてから [TestNG] をクリックして、新しいタスクを作成します。
  3. Update the task settings:

    Task Description
    Enter a description of the task, for display in Bamboo.

    Disable this task
    Check, or clear, to selectively run this task.

    Specify custom results directories
    Enter the name of the test results directory (or multiple directories, separated by commas). You can also use Ant-style patterns such as */test-reports/.xml. Please specify file path relative to your job build's root directory. Do not specify an absolute path. For jobs that use CVS, the job build's root directory is <bamboo-home>/xml-data/build-dir/JOB_KEY/<cvs-module>.

     

  4. 保存をクリックします。

最終更新日 2017 年 8 月 29 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.