Last active
May 6, 2016 17:20
-
-
Save davidkuster/d3bca0c69a71edc4c996 to your computer and use it in GitHub Desktop.
Running Gradle tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Gradle tests | |
// single file: | |
gradle -Dtest.single=TestClass :module-name:test --info | |
// single method: | |
gradle :module-name:test --tests *TestClass.methodToTest --info --stacktrace | |
// single test, Grails 3: | |
grails test-app -integration com.mypackage.myapp.MySpec.my_test_which_may_need_underscores_for_this_to_work | |
// in Maven | |
mvn test -Dtest=ClassTests -pl module-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment