0

By doing mvn clean install, I got all the logs in console and can see all the test cases running.

However using gradle commands like ./gradlew build doesn't show anything like that. In the last it just shows build success.

PFB below mvn and gradle logs that are comming.

enter image description here

enter image description here

Can anyone please let me know how I can see logs in gradle as while present in mvn clean install.

Thanks!

1 Answer 1

0

To show standard out and standard error of the test JVM(s) on the console, use

test {
    testLogging.showStandardStreams = true
}

More options are documented in the Gradle Test DSL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.