I'm not able to get 100% branch coverage for Groovy's "assert" statements. 
After looking into the generated code (decompiled via IDEA), it seems to me 
that the problem is related to the following JaCoCo issue: 
https://github.com/jacoco/jacoco/pull/321

If so, I wonder what the status of this issue is? Are there any plans to 
tackle it, maybe? From the discussion, it looks like upstream projects are 
real blockers.

>From the user perspective, it is unfortunate to have this limitation, since 
"asserts" are commonly used in Groovy all over the place for precondition 
checking in pour-man design-by-contract style. In the report, it is hard to 
distinguish those false warnings from real missed branches.

Tnx,
Damir

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/463a0461-ab9a-44fc-91fc-c26323bc46c7n%40googlegroups.com.

Reply via email to