How to create an HTML report for JUnit 5 tests?

前端 未结 3 1259
闹比i
闹比i 2020-12-16 18:18

Is there already a possibility to generate an HTML report when JUnit tests were started via Gradle? Any hint or comment is appreciated.

3条回答
  •  独厮守ぢ
    2020-12-16 18:37

    Adding below line to my java command created TEST-junit-jupiter.xml in my target/test-result folder. This xml file has all info about number of testcases run, number of tests passed/failed etc

     --reports-dir target/test-result
    

提交回复
热议问题