Run all tests in Junit 4

前端 未结 7 1468
感动是毒
感动是毒 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条回答
  •  猫巷女王i
    2021-02-01 16:16

    With Eclipse Indigo (possibly Helios as well) in the Run Configurations dialog box, you now have the ability to Run all tests in a selected project, package or source folder.

    Also a good reference from Eclipse is the article Java Unit testing with JUnit 4.x in Eclipse.

提交回复
热议问题