How to print current executing JUnit test method while running all tests in a class or suite using ANT?

前端 未结 6 1366
野性不改
野性不改 2021-01-20 10:24

I have a set of JUnit Test Cases and I execute them from ANT using the junit task. While executing the tests, in the console I get to see only which test case (i.e. Java cla

6条回答
  •  既然无缘
    2021-01-20 10:57

    You can try using the formatter by setting type as plain.

    
    

    Or

    You can use implement Custom formatters by extending org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter class.

提交回复
热议问题