mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 19:54:52 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/gradle-test
Normal file
29
tldr/gradle-test
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# gradle test
|
||||
|
||||
> Run tests using Gradle.
|
||||
> More information: <https://docs.gradle.org/current/userguide/java_testing.html>.
|
||||
|
||||
- Run all tests:
|
||||
|
||||
`gradle test`
|
||||
|
||||
- Run 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 --rerun`
|
||||
Reference in New Issue
Block a user