Is there a JUnit TestRunner for running groups of tests?

前端 未结 9 842
既然无缘
既然无缘 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:15

    No, there is no similar concept to TestNG groups, unfortunately. It was planned for JUnit4, but for some unclear reason, it was dropped from the planning.

提交回复
热议问题