Run all tests in Junit 4

前端 未结 7 1455
感动是毒
感动是毒 2021-02-01 15:45

I want to be able to run all tests in a project programmatically. I know Eclipse has a \"Run as JUnit test\" configuration which somehow grabs all the tests in a project and run

相关标签:
7条回答
  • 2021-02-01 16:39

    In Eclipse (I'm using 4.6.1) - Right click the project folder, select "Run As", choose "JUnit Test"

    It will run all tests in that project. Same for a package.

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