I've attached a sample eclipse project. it uses maven to import the junit4 and jmockit dependencies. You should be able to import it into eclipse and run tests via Run or Debug, but if you try using EclEmma, it will not complete, nor show any results. Going into the run configurations for MainTest, move the -javaagent argument (and update for your username/system) from "Program...
2012-05-10 08:58:08 PDT in EclEmma - Java Co...
After installing EclEmma 2.1.2.201205091942 as per bug 3522487, running eclemma still did not show results. Rebuilding my eclipse environment from scratch revealed a conflict with JMockit. JMockit uses a java agent, but provides a non standard means of loading it. Standard means is to specify "-javaagent:jmockit.jar" as a jvm arg. JMockit also allows dynamic loading on jvm > 1.6...
2012-05-09 16:06:02 PDT in EclEmma - Java Co...
Yes, the process is there, and is live. Terminating it manually causes the following error dialog: 'com.mountainminds.eclemma.interna..core.launching.AgentServer' has encountered a problem. Error while dumping coverage data (code 5013) Connection reset Followed by the error: No coverage data has been collected during this coverage session. Please do not...
2012-04-30 15:41:43 PDT in EclEmma - Java Co...
Only after exiting eclipse did I find the error: Steps to reproduce: 1. open eclipse 2. [optional] run tests to verify all pass 3. run tests via EclEmma 4. wait sufficient time, but observe no results. Check log: empty 5. exit eclipse. Check log to find the following error: !SESSION 2012-04-30 13:47:02.727 ----------------------------------------------- eclipse.buildId=M20120208-0800.
2012-04-30 10:57:33 PDT in EclEmma - Java Co...
I upgraged to EclEmma Snapshot 2.1.2.201204281655 (per suggestion for bug 3522048), using Eclipse Indigo (w/ Java 1.6) but when I run emma, there is no output in the JUnit view, nor is code highlighted with coverage info. The tests may well be executing, as the "busy" spinner displays for a short time, but no errors or indication of the results exists - aside from an entry in the JUnit...
2012-04-29 21:40:00 PDT in EclEmma - Java Co...
I believe I am seeing the ArrayIndexOutOfBounds error described in bug 3509409 when using emma and jmockit in eclipse. Eclemma build specifies jacoco source: 0.5.6.201201232323. Could this be updated to jacoco 0.5.7 and a new release made to incorporate the fix for 3509409? https://sourceforge.net/tracker/?func=detail&aid=3509409&group_id=177969&atid=883351.
2012-04-27 09:26:32 PDT in EclEmma - Java Co...