Grails / Cobertura report - conditional coverage doesn't make sense
问题 What could cause something like this: The line def result shows only 2/6 branches covered, even though it has NO BRANCHES, while the following line, which actually has a conditional, is ok. What's going on? I verified that the cobertura.ser is getting cleaned up between builds. 回答1: any idea where I can get the source for that JAR? jar and souce code for disableOptimizationsTransformation Also - any idea how to include that JAR on classpath ONLY for the test-app build phase? // Remove the jar