Is it possible to run JUnit tests from multiple packages in Eclipse?

前端 未结 7 1722
Happy的楠姐
Happy的楠姐 2021-02-01 12:43

Is it possible to run JUnit tests for multiple packages at the same time without manually creating test suites.

For example if I have the hierarchy:

code.brancho

7条回答
  •  北海茫月
    2021-02-01 13:12

    In Eclipse, on your debug/run configurations you have the following options:

    1. Run a single test
    2. Run all tests in the selected project, package or source folder

    I think the second option is your friend in this case.

提交回复
热议问题