Test Cases are failing when moved from Maven to Gradle. Manually comparing it to the maven dependencies as they were working fine or starting the build process from start for these particular module would be a good Idea or not?

> Task ::runtime:service:test FAILED

FAILURE: Build failed with an exception.

  • What went wrong:

Execution failed for task ‘:PROJECT:MODULE:service:test’.

> Process ‘Gradle Test Executor 2’ finished with non-zero exit value 3

This problem might be caused by incorrect test process configuration.

Please refer to the test execution section in the user guide at https://docs.gradle.org/4.10/userguide/java_plugin.html#sec:test_execution

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.

Use ‘–warning-mode all’ to show the individual deprecation warnings.