emma Questions
10
Solved
After running coverage reports in Eclipse (using cobertura or an EMMA plugin), my source code files get highlighted in green, red and yellow depending on which lines of code were covered by tests.
...
Masters asked 24/5, 2011 at 15:3
7
Solved
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 o...
Eastman asked 10/8, 2011 at 12:20
2
Solved
I'm using IntelliJ IDEA 10.5 with the Scala plugin v0.4.1338 updated on August 14th, and Scala 2.9.0.1. I recently began using the EMMA test coverage utility in IDEA to generate coverage reports.
...
Phylissphyll asked 16/8, 2011 at 20:6
4
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
}
}
Apply Jacoco...
Stalinsk asked 13/3, 2015 at 18:45
2
When trying to run Coverage as or run a maven build using emma:emma I get the following:
java.lang.IllegalStateException: Could not access method: Can not set
static final [Z field packageName....
India asked 15/7, 2013 at 15:41
2
Solved
Some methods, such as auto-generated getters, setters, equals and toString, are trivial for test. However, if they aren't added into the testing classes, the code coverage percentage (calculated us...
Dissatisfied asked 2/12, 2010 at 15:37
1
Solved
Hi i want to generate emma report using maven.when i try to build report it gives this error.
[ERROR] Failed to execute goal org.codehaus.mojo:emma-maven-plugin:1.0-alpha-3:instrument (default) on...
1
I am using a code coverage tool that can only generate Emma XML report, while what I need is Cobertura or gcov format. Does there already exist some tool for doing the conversion? If not, I'm afrai...
Lankford asked 4/6, 2012 at 2:17
3
Solved
I'm using EclEmma for coverage analysis.
My Java code includes a synchronized(MyClass.class) {} block.
EclEmma says it is only partially covered, event though I've got a unit test in which one th...
Necessitous asked 15/9, 2010 at 6:34
3
I have the following code construction:
try {
//some code
}
catch(CustomException custExc) {
//log
}
catch(CustomException2 custExc2) {
//log
}
catch(Exception exc) {
//log
}
finally {
//some...
Semiconscious asked 28/8, 2015 at 21:35
3
I'm using Eclipse Juno and I want to get Emma code coverage. Right now I am getting the coverage in coverage window of Eclipse. But what should I do if I want the full coverage in HTML format...
Axseed asked 11/9, 2012 at 6:17
2
I am trying to run Emma on the tests for an Android project that is a combination of Java and C/JNI code. The build and tests work fine, but whenever I add emma, I get a mysterious exception. I'm u...
1
Solved
I am running the emma code coverage tool in my system by using the below command,
D:\DeadLockDetection\DDinDOS>java -XX:UseSplitVerifier -cp emma.jar emmarun -jar process-3-1.0.jar
The below ...
3
Solved
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 asser...
Ware asked 13/4, 2012 at 18:7
2
Solved
It is possible to guarantee a unique instance of an object with enums in Java as following:
public enum EmmaTest {
;
public static int someStaticMethod() {
return 33;
}
}
How can one impl...
Nitwit asked 11/8, 2011 at 16:27
2
To generate emma report I ran these command.
1. mvn install -Pwith-emma
2. java -cp %USERPROFILE%/.m2/repository/emma/emma/2.1.5320/emma-2.1.5320.jar emma report -r xml,html -in coverage.ec -in...
3
Solved
I'm trying IntelliJ 12, and I can't manage to get the line colored (red, green, yellow) in the editors after running the tests with coverage.
Did anybody noticed the problem or it's just me not be...
Cradling asked 16/12, 2012 at 23:25
2
Solved
Is there a tool similar to emma, that reports which test covers a specific implementation ?
Eakin asked 1/10, 2012 at 13:7
3
I have been trying to generate android code coverage for my android test project which tests a android project which includes a external jar. When I run command
ant emma install debug test
it sh...
Yokel asked 20/11, 2012 at 4:9
3
Solved
I'm running EclEmma, the Emma plugin for Eclipse, and the coverage report shows only partial coverage for an Enum I've defined, even though it shows the only value in the Enum as being covered. I'm...
Bouzoun asked 22/12, 2010 at 18:25
1
Solved
I'm using Eclipse-STS + EclEmma plugin to see coverage of my code. In all my abstract util classes (with only static methods) I see 3 missed instructions (Instructions Counter report) at the class ...
Warp asked 7/2, 2013 at 23:27
1
Solved
From this question :
How can I use filter for emma when building Android test with ant?
I know emma can use a filter by adding the following lines to my ant.properties of the targeted project, no...
Idaline asked 20/9, 2012 at 5:12
2
Solved
So I'm getting these errors
[junit] Illegal local variable table length 17 in method test.nz.ac.massey.cs.sdc.log4jassignment.s06005586.AppenderLayoutTest.()V
[junit] java.lang.VerifyError: Expect...
3
Solved
I know Android's Ant tooling comes with built-in Emma code coverage, but Emma's reports look more and more dated and cannot be easily integrated into other coverage reports or even Sonar, basically...
Rattat asked 20/9, 2012 at 6:28
4
Solved
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 ...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.