Found this by accident. It seems like uncompiled classes that are referenced in a Plugin.groovy script are not poperly instrumented when grails test-app --coverage is run.
However if you do "grails compile" then "grails test-app --coverage" everything then works
Wierd but useful to remember!
No comments:
Post a Comment