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

Plugin is not working for 2.5.4 #49

Open
lthur opened this issue Dec 23, 2016 · 1 comment
Open

Plugin is not working for 2.5.4 #49

lthur opened this issue Dec 23, 2016 · 1 comment

Comments

@lthur
Copy link

lthur commented Dec 23, 2016

Hi,
hope you are well!

I think I'm facing an issue, I'm using grails 2.5.4, code-coverage:2.0.3-3 for measuring coverage but I'm not seeing the report generated correctly.

I have a Controller that has 100% of lines covered, but 20% of branch coverage.
I do not have any conditionals in the Controller, and the report shows me that I'm NOT covering a return of a Map

I've attached an image to be more clear.

captura de pantalla 2016-12-23 a las 16 42 52

Note: I have disabled the AST-Tranformation.

Any ideas on this?
Thank you

@beckje01
Copy link
Owner

That is just a limitation of groovy with the current coverage tools. There isn't anything I know you can do to fix this. If you find a solution that works for groovy and a coverage tool we could apply it here.

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