-
I looking to gain raw data coverage for each Junit test, so I can see if each line have been exercised by the Junit test . I looking to generate a coverage table populated with zeros and ones, zeros indicate that a line have not been exercised while one does. I looking to generate something like this:
Lines 1 2 3
Test 1 0 1 1
Test 2 1 1 1
I am...
2009-11-08 21:56:42 UTC by mjh130
-
I am new to emma, and using the Emma User Guide. When I use the instr to annotate the source code as in the example in the user code e.g. java -cp outinstr;out Main, I keep getting a NoClassDefFoundError. Any help would be good. Thanks in advace.
2009-11-07 21:10:47 UTC by mjh130
-
hi, All,
i wanna to generate one coverage report for metadata and coverage files given for different version of sources.
Let's try to explain my question in example:
1. I have one version of sources, I compile them with Emma (as result I got metadata1 file), run tests (got coverage1 file)
2. I have newer version of sources I compile them with Emma (got metadata2 file), run tests (got...
2009-11-06 11:56:09 UTC by szapadaev
-
To make Emma development easier, I suggest also the two following tasks:
1) Migrate from CVS to SVN (anyway I'm not able to checkout CVS code)
2) Migrate build from Ant to Maven2
I would like to help but I'm not even able to checkout source code ;)
2009-11-04 10:23:35 UTC by henryju
-
Hi andpro77,
Thank you so much to your assistance to help me. Actually I've tried to anticipate your advise before I posted my problem. Would you mind if you could see my build script and look for a solution on it? Here's my emma-build.xml
<project>
<property name="graft.dir" value="${basedir}/libs" />
<!-- emma jars directory -->...
2009-11-03 07:50:06 UTC by onemig18gem
-
Could it be you forgot to enable EMMA during the test run?
You need to add the following arguments to the JUnit call:
<jvmarg value="-Demma.coverage.out.file=${emma-working.dir}/coverage.emma" />
<jvmarg value="-Demma.coverage.out.merge=true" />
Also make sure, the instrumented class files...
2009-11-02 20:15:37 UTC by andpro77
-
Hi,
Can anyone please help me. I've tried to run an ant script that would compile all classes and generate a coverage report for my junit. Fortunately, the build was successful, but it didn't generated an html coverage file. Base on my observation, it didn't generated a coverage.emma. I don't know the reason why. Please see the logs below.
Buildfile: C:\RAD901\build\build.xml
[echo.
2009-11-02 11:54:52 UTC by onemig18gem
-
Hi,
I'm just a newbie in using emma. I've encountered an error specified below. I hope someone could help me about this. Thank you so much
<br><br><br>
<strong>
C:\RAD901\build> ant ms.emma.coverage
Buildfile: build.xml
Overriding previous definition of reference to emma.jars
[echo] JAVA_HOME = C:\Program...
2009-10-30 08:49:19 UTC by onemig18gem
-
Hi,
I am able to run my application from command prompt by using the following command
>java -cp<my jar files> MainClassName
When i am using emmarun command as follows,
My application is launching but some part of application is not opening and i am getting "NoClass DefFoundError" at my logs.
>java -cp emma.jar emmarun -cp<my jar files> MainClassName...
2009-10-28 08:24:22 UTC by rsudharson
-
Thank you Marc for your quick response. We will try with your instructions and see.
2009-10-14 06:38:34 UTC by charithak