run ALL unit tests in ALL modules?

hi..

is there a way to run a unit test (with and without code coverage analasys) in ALL modules of the project?

5 comments
Comment actions Permalink

Hi, you may run all test in project in deafult directory if you don't need to run them with different classpaths/different environment. Otherwise it is currentrly impossible

0
Comment actions Permalink

what do you mean default directory?

0
Comment actions Permalink

Sorry, default package (or root package e.g. org if you have one)

0
Comment actions Permalink

Are there any plans to improve this? We have a rather large Maven multimodule and unfortunately several tests need to have the working directory set to the corresponding module root. Currently I have a JUnit run config for each module with the working dir set to $MODULE_DIR$. This works fine per module but does not allow me to run all tests at once. A possible solution of the problem would be some grouping for run configs allowing me to run several JUnit run configs sequentially by starting the group.

Michael

0
Comment actions Permalink

When right clicking on the  test/java directory you can run all the tests with coverage.

0

Please sign in to leave a comment.