Intellij with TestNG report generation

后端 未结 4 1849
醉梦人生
醉梦人生 2021-02-14 05:56

I am not able to generate report using TestNG+Intellij 12, also provided out path in Run configuration. I have even updated to TestNG 6.8 by this way : https://stackoverflow.com

相关标签:
4条回答
  • 2021-02-14 06:13

    Check on Use default reporters option which will create test-output folder in your root folder with all reports.

    0 讨论(0)
  • 2021-02-14 06:16

    You can add Listener like "EmailableReporter" or "FailedReporter" in the "Run Configurations", it will generate test-output directory in your workspace.

    I test it at Intellj IDEA 12.0.4

    0 讨论(0)
  • 2021-02-14 06:25

    One thing that you can consider to do is, that you check the checkbox under Listeners. This checkbox enables the automated reports. You have to change the default settings of TestNG run options to enable it for any additional runs after the first one. This solved my reporting problems.

    0 讨论(0)
  • 2021-02-14 06:28

    From Edit Configurations

    1. On the "Listeners tab", Use default listeners should be checked.
    2. And Output directory should be set correctly.
    0 讨论(0)
提交回复
热议问题