Skip to content

Commit 8d366b4

Browse files
committed
Documentation about running one unit test
It is written here https://github.com/groovy/groovy-core/blob/master/gradle/test.gradle#L66 but I think it is worth writing it on README.adoc.
1 parent 5872fd8 commit 8d366b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.adoc

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ To build everything and launch unit tests, use
4949

5050
./gradlew test
5151

52+
If you want to launch one unit test, use this. <TestClassName> is like `groovy.GroovyMethodsTest`.
53+
54+
./gradlew :test --tests <TestClassName>
55+
5256
To build from IntelliJ IDEA
5357

5458
./gradlew jarAll idea

0 commit comments

Comments
 (0)