snippetbashTip
gradle test — Run tests using Gradle. More information: <https://docs.gradle.org/current/userguide/java_testing.ht
Viewed 0 times
commandrungradle testclitestsmoreusinggradle
Problem
How to use the
gradle test command: Run tests using Gradle. More information: <https://docs.gradle.org/current/userguide/java_testing.html>.Solution
gradle test — Run tests using Gradle. More information: <https://docs.gradle.org/current/userguide/java_testing.html>.Run all tests:
gradle testRun tests with detailed output:
gradle test {{[-i|--info]}}Run a specific test class:
gradle test --tests {{class_name}}Run tests matching a pattern:
gradle test --tests "{{pattern}}"Rerun tests even if up-to-date:
gradle test --rerunCode Snippets
Run all tests
gradle testRun tests with detailed output
gradle test {{[-i|--info]}}Run a specific test class
gradle test --tests {{class_name}}Run tests matching a pattern
gradle test --tests "{{pattern}}"Rerun tests even if up-to-date
gradle test --rerunContext
tldr-pages: common/gradle test
Revisions (0)
No revisions yet.