Running all tests with Quickbuild

335 views Asked by At

I have experience with Jenkins and I am used to that, that it runs all tests through no matter if a test is failing. At the end I have a complete list of failed tests including all Maven submodules.

Is it possible to reach the same behaviour with Quickbuild?

2

There are 2 answers

0
Gábor Lipták On BEST ANSWER

In maven world quickbuild seems to do nothing special. It just uses the default behaviour of maven. As soon as there is a test failure, the multi-module project build will stop at the current module.

If you want to build everything, you have to add this to your command:

-Dmaven.test.failure.ignore=true

This way all modules will be built, still quickbuild will find the failed tests in the reports.

1
Alderven On

The behavior you want to achieve is the default behavior in QB. See screenshot from my tests: QuickBuild Step Status

Although the first test case was failed rest of the test cases were executed.