0
是否有任何方法配置mvn
命令以显示在测试摘要中(在Results:
部分中)运行了哪些测试(测试类中的测试方法)过于冗长的-X选项?在没有-X选项的情况下显示在测试类中运行的所有测试
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.myproject.MyTestClass
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec <<< FAILURE!
Results :
#I would like to show the passed test here
Failed tests:
testTwo(com.myproject.MyTestClass)
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0