Search code examples
grailsgradlegradlewgrails-3.1

Target specific package when running Grails integration tests using Gradle


I can target a specific package with the grails command:

grails test-app com.mypackage.* -integration

How to do the same using Gradle wrapper? Tried ./gradlew integrationTest com.mypackage.*, but no luck.

(Grails 3.1.10, Gradle wrapper 2.13)


Solution

  • ./gradlew iT --tests "com.mypackage.*"