Background
By default setting, the multi-project build has ignoreFailures = true, that enables running test and gathering test report on all projects at the end.
However, in the case of the standalone test for the specific sub-project, Gradle should fail if any test fails.
Solution
Add stopOnTestFailure project property to add this capability
Background By default setting, the multi-project build has ignoreFailures = true, that enables running test and gathering test report on all projects at the end.
However, in the case of the standalone test for the specific sub-project, Gradle should fail if any test fails.
Solution
Add
stopOnTestFailure
project property to add this capability