I have a multi-module maven project. In every module there are unit tests. When I make clean install tests run before every module and if all tests in one module are success it build successfully. If one test failure all other tests in that module run successfully (or some run successfully, other failed). The build of module in what the first failure unit test is placed failed. Other modules are skipped.
I want such thing: first to run all unit tests in all modules, and after that if there is no failed tests build all modules, or if there is one or more failed tests in one or mode modules skip building of all modules. Can you help me with it?
I have a multi-module maven project. In every module there are unit tests. When
Share
run:
note, if you have inter-module dependencies (which i assume you do), you probably can’t really do this, as you will need to build the dependent jars before you can run the tests in the other module.