Closed tedder closed 10 years ago
I have not tried to use this plugin with gradle based grails builds. I would think you could use the gradle plugins for code coverage and have an easier way to to work with the plugins... but I'm not sure.
If you have a public repo with the grails built by gradle I might be able to take a look soon.
So if you need anything more on this contact me on twitter.
I'm using Gradle 1.12 and Grails 2.3.6. I've included the coverage plugin:
I then make sure to pass the
-coverage
argument:When I run
./gradlew clean test
or./gradlew clean grails-test-app
I don't see the expected "Instrumenting classes for coverage" output.I also tried turning forking off, based on #11, with
./gradlew clean grails-test-app -Pgrails.project.fork.test=false
. No dice.I also added a dependency to gradle:
Again, it didn't help. So, how does grails-code-coverage integrate with Gradle?