All Questions

55
votes
6answers
36102 views

Testng, Emma, Cobertura, coverage and JDK 7 result in ClassFormatError and VerifyError

I have switched to the newest JDK 7 and I am having problems with running testng unit test on byte code that is fiddled by emma coverage tool. None of my test cases are run correctly and for most of t...
12
votes
2answers
4697 views

Which emma-maven-plugin should I be using?

org.sonatype.maven.plugin:emma-maven-plugin:1.2 org.codehaus.mojo:emma-maven-plugin:1.0-alpha-3 org.apache.maven.plugins:maven-emma-plugin:0.5
4
votes
3answers
4243 views

Jacoco converting coverage.ec to reports without coverage.em

I was able to get the code coverage report by following the steps below, Enable coverage on the build type you want (e.g. debug) buildTypes { debug { testCoverageEnabled true } ...
24
votes
4answers
10483 views

Code coverage for Android

Possible Duplicate: Android test code coverage, Eclipse Its really frustrating to see there is no documentation for how to use EMMA for Android apps in Eclipse. Has anyone managed to work w...
26
votes
3answers
25840 views

How do I generate Emma code coverage reports using Ant?

How do I setup an Ant task to generate Emma code coverage reports?
12
votes
3answers
13736 views

Missing branches when using assertTrue instead of assertNull

In Java/Junit, I need to test for null with some object. There are a variety of ways I can test a condition but I have been using assertTrue for most of my tests. When I check for nulls in an assert...
7
votes
2answers
2714 views

How can I use filter for emma when building Android test with ant?

I know how to use emma in ant when building my android test project but I can't find any tips on how to use filters when using the SDK. The emma website explains it when calling emma yourself but in t...
5
votes
3answers
1824 views

Can fully covered code have an EclEmma coverage rating of less than 100%?

I just wrote some simple sample code to make sure that I had EclEmma installed correctly. I'm not getting 100% coverage, and I don't understand why. The highlighting implies that it has to do with the...
1
votes
1answers
1248 views

Using emmarun (main method not found)

I have an ultra simple file in an empty directory: public class Test { public static void main(String[] args) { System.out.println("Test"); } } And the following works as expected ...
0
votes
2answers
1908 views

EMMA with Junit, should I be testing with the instrumented classes or java classes?

I've been going through this tutorial for my ANT Script for emma/junit, it states In the <classpath> element of <junit>, change the locations of your real classes, so that you are poin...

Previous Next