英文:
Print test summary to console in JUnit 5
问题
在JUnit 5中,是否有可能在所有测试结束时将测试摘要打印到控制台?
它应该包含一个失败的测试列表,以及一个成功的测试列表。
英文:
Is it possible in JUnit 5 to print a test summary at the end of all tests to the console?
It should contain a list of the tests that have failed, and a list of the ones that were successful.
答案1
得分: 0
尝试运行 gradle test -i
,这将打印测试案例的结果和最终输出结果。
英文:
try gradle test -i
this will print test cases with result and the final output result.
专注分享java语言的经验与见解,让所有开发者获益!
评论