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
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.
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.
Note: I have disabled the AST-Tranformation.
Any ideas on this? Thank you