Donate Share

EMMA code coverage

Code

Programming Languages: Java

License: Common Public License 1.0

Repositories

browse code, statistics, last commit on 2006-02-23 cvs -d:pserver:anonymous@emma.cvs.sourceforge.net:/cvsroot/emma login

cvs -z3 -d:pserver:anonymous@emma.cvs.sourceforge.net:/cvsroot/emma co -P modulename

Show:

What's happening?

  • Gaining Raw Data Coverage

    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

  • Cannot find Class when using instr

    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

  • [CLASS_STAMP_MISMATCH] exception

    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

  • Followup: RE: RFC: EmmaNG- Emma with maintenance?

    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

  • Followup: RE: can not generate coverage.emma

    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

  • Followup: RE: can not generate coverage.emma

    Could it be you forgot to enable EMMA during the test run? You need to add the following arguments to the JUnit call:             &lt;jvmarg value="-Demma.coverage.out.file=${emma-working.dir}/coverage.emma" /&gt;             &lt;jvmarg value="-Demma.coverage.out.merge=true" /&gt; Also make sure, the instrumented class files...

    2009-11-02 20:15:37 UTC by andpro77

  • can not generate coverage.emma

    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

  • java.io.IOException: CreateProcess

    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

  • NoClass DefFoundError - could not load class

    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

  • Followup: RE: Issues when getting runtime test coverage

    Thank you Marc for your quick response. We will try with your instructions and see.

    2009-10-14 06:38:34 UTC by charithak

Our Numbers