Is there a Maven plugin listing all JUnit tests in a multi module project

后端 未结 1 1019
天命终不由人
天命终不由人 2021-01-18 19:00

Is there any maven plugin - or non-maven tool - out there which would browse a multi-modules project and return me a list of all existing JUnit testcases (ideally presented

相关标签:
1条回答
  • 2021-01-18 19:35

    There's a .../target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst in a Maven project.

    You can use the GMavenPlus Plugin and Walking the File Tree to gather these files and put their content where you want.

    Another option is to develop an own Maven plugin that does the same.

    0 讨论(0)
提交回复
热议问题