Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get code coverage for my Grails app's plugins #37

Open
vahidpaz opened this issue Feb 7, 2015 · 1 comment
Open

Unable to get code coverage for my Grails app's plugins #37

vahidpaz opened this issue Feb 7, 2015 · 1 comment

Comments

@vahidpaz
Copy link

vahidpaz commented Feb 7, 2015

This is actually not an issue at all but I thought worthwhile to document here in case others land on this page in a web search.

If you improperly designed you Grails app initially like me and want to get a coverage report for not only the Grails app you're working but also its plugins (and also its transitive Grails plugins) then check out: http://stackoverflow.com/questions/28357244/cobertura-coverage-for-grails-plugins-and-dependencies/28378265#28378265

This all assumes that your Grails app has tests which exercise the code in these plugins. The proper way to package your tests of course is to have them sitting in each plugin. I am about to refactor and do this soon.

Feel free to resolve this issue immediately, or delete it if you find it bothersome. :)

@beckje01
Copy link
Owner

beckje01 commented Feb 9, 2015

Glad you got it working, if you would like to put some of this into the README I'll be happy to accept as a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants