How to install and use coverage for testing Grails?

I am trying to get the Grails code coverage plugin to work based on these directions: http://www.grails.org/Test+Code+Coverage+Plugin

I did: grails install-plugin code-coverage

Then: grails test-app

Based on this, I expect to see the test / report / cobertura directory, but I don’t see anything inside my project after running the "grails test-app".

I have Grails 1.1 installed and a new application created. Do I need to do anything else to see these reports? Are there any better instructions somewhere?

thanks

+5
source share
1 answer

"grails test-app -coverage".

+7

All Articles