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

前端 未结 7 1868
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

    An other way:

    Click on the black triangle denoted by red rectangle in the picture below (in your Eclipse, not here :).)

    enter image description here

    Then open run configurations, create a new configuration and then set "Run all tests..." as exemplified in the image below.

    enter image description here

提交回复
热议问题