--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-dev-disc...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/f39cd700-4e1d-47bf-8df1-1591993d90ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/571ADEE1-2471-45BB-BE56-E66E72F109D3%40jeffandbetsy.net.
def testTask = tasks.test
tasks.remove(testTask)
testTask.name = "unitTest"
tasks.add(testTask)
task test(dependsOn:['unitTest', 'integrationTest'])
You can use 'check' or 'integrationTest' as Jeff says.Note that currently the test report directory both of 'test' and 'integrationTest' are same. So, if you run two tasks sequentially as 'gradle test integrationTest', the 'test' task's report would be overwritten.
On Mon, Apr 6, 2015 at 11:45 PM, Jeff Scott Brown <je...@jeffandbetsy.net> wrote:
I think the integration tests should run if you execute "./gradlew check". You can also run them by themselves with"./gradlew integrationTest" (or ./gradlew iT for short).JSB
Sent from my iPhone
It seems I'm having problems kicking off integration tests via Gradle. I am migrating a plugin to 3.x, and have placed my integration tests in src/integration-test/groovy, and modified the existing integration tests as necessary. Using gradle test, I can only get unit tests to run. This is true using both IntelliJ and the command line.--The only way I can get integration tests to run is via the command line using grails test-app. The odd thing is, using the same command in IntelliJ gives me an error: Task 'cleanGrails-test-app' not found in root project.I'm using an unmodified build.gradle. Am I doing something wrong or missing something?
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-dev-discuss+unsub...@googlegroups.com.
To post to this group, send email to grails-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/f39cd700-4e1d-47bf-8df1-1591993d90ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Grails Dev Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grails-dev-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grails-dev-discuss/571ADEE1-2471-45BB-BE56-E66E72F109D3%40jeffandbetsy.net.
--Yasuharu Nakano