Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-08 00:22:45 +00:00
parent 7c4efb4fd3
commit 4c849cfc8a
12 changed files with 233 additions and 4 deletions

29
tldr/gradle-test Normal file
View 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`