Generating HTML TestNG reports

后端 未结 4 1673
无人及你
无人及你 2020-12-12 04:27

I want to generate HTML testNG reports. By default we have a report file after running testNG called \"emailable-reports\". But now i want to create my own HTML report. I t

4条回答
  •  死守一世寂寞
    2020-12-12 05:13

    @Feanor - As per your implementataion

    ################
      Implementing an instance of IReporter and the generateReport(List suites, String outputDirectory)
    #################
    

    We have a problem here. Assume we have implemented as instance of Ireporter say "CustomReporter" and override generateReport which gets called by adding listener in xml file

    After this testng will ALSO call EmailableReport which also implements Ireporter which reverts back to default testNg report

提交回复
热议问题