RE: Improving JaCoCo's branch coverage of a Groovy assert statement
Damir Murat <[email protected]>
| Newsgroups | gmane.comp.lang.groovy.user |
|---|---|
| Message-ID | <87a3a741-f10b-4d71-b66d-3fe76d18b610@Spark> |
I forgot to explicitly mention the primary motivation for doing this. At the moment, there is no way to have full branch coverage for Groovy assert statements. In a larger project, this is very distractive when trying to find the pieces of actual logic that should be better covered with tests. I believe a slight change in assert statement code generation can significantly improve the situation.