Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Intellij Plugin not showing grails class coverage.

Ryan Cornia April 27, 2016

I have the intellij plugin. When I run all unit tests for the project within intellij and look at the cloverage window, no grails-app/* classes are shown, only the classes in src/java. 

How do I see the coverage on my grails services, domain objects, etc...?

Ryan

 

1 answer

0 votes
Grzegorz Lewandowski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 27, 2016

Hello, that's because IntelliJ plugin doesn't support Groovy coverage. We have open JIRA issue to support this feature https://jira.atlassian.com/browse/CLOV-939

However you can trick IntelliJ to show coverage of groovy classes by running Clover in external process  (like Grails/Ant/Maven) and then configure IntelliJ to look at the clover.db generated by that external process.

 

Best regards,

Grzegorz Lewandowski

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events