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

前端 未结 7 1739
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:26

    I'm sure u can tweak this a bit. Make a Collection of the CLASSES_DIR property and loop over it in the findClasses method. (junit4)

    http://burtbeckwith.com/blog/?p=52

提交回复
热议问题