Is there a JUnit TestRunner for running groups of tests?

前端 未结 9 770
既然无缘
既然无缘 2021-02-05 13:42

I am currently using JUnit 4 and have a need to divide my tests into groups that can be run selectively in any combination. I know TestNG has a feature to annotate tests to assi

9条回答
  •  春和景丽
    2021-02-05 14:28

    If you're using ANT or maven, you can control which tests are run by filtering the tests by name. A bit awkward, but it might work for you.

提交回复
热议问题