You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jdaugherty (via GitHub)" <gi...@apache.org> on 2026/09/01 18:25:03 UTC
[I] Grails unit test code coverage is not shown in coverage result report even though editor gutter shows that the line was covered [grails-intellij-plugin]
jdaugherty opened a new issue, #194:
URL: https://github.com/apache/grails-intellij-plugin/issues/194
When I run all unit tests written in spock (test-app unit: -echoOut) with code coverage for my grails application the coverage report shows that it did not cover any of the classes which supposed to be tested.
Grails version is 2.4.3 (the fork did not work, and excluding/including packages had no effect)
For the completely new project with fork disabled I still do not see coverage
After cleaning the sample project and rebuilding it again - the coverage showed up correctly.
Doing the same thing with initial project did not yield the same result - it still shows 0% of class coverage.
It is a project that has an inplacePlugin (I have also disable fork there) and several non-public plugins - so it might be hard to send it over.
Any other ideas how to diagnose what might be wrong or diffrent then it should be?
I have done everything - the problem is reproduced on other computers so it is not a singular problem. After everything done I have the following situation:
1) No code coverage on every of written classes
2) When I open the src file I get code coverage markers for each line
which was covered or not - as on the screenshot
Project View does not show anything concerning coverage. Coverage view shows that packages were not covered **even thou the gutter
shows something different.**
---
*Imported from [IDEA-137828](https://youtrack.jetbrains.com/issue/IDEA-137828) · Type: Bug · Votes: 1*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org