-
Hi,
so here is what I did:
1) Check-out the trunk version from the given repository
2) Manually added your dependencies (don't have M2 installed): asm-1.5.3.jar
cglib-2.1_3.jar
easymock-2.5.1.jar
easymockclassextension.jar
jmockit.jar
junit-4.7.jar
3) Directly run the test suite from Eclipse. To do so I needed to add the jmockit agent and the JaCoCo agent...
2009-11-08 11:19:27 UTC in EclEmma - Java Code Coverage for Eclipse
-
mtnminds committed revision 802 to the EclEmma - Java Code Coverage for Eclipse SVN repository, changing 1 files.
2009-11-05 20:23:25 UTC in EclEmma - Java Code Coverage for Eclipse
-
mtnminds committed revision 801 to the EclEmma - Java Code Coverage for Eclipse SVN repository, changing 1 files.
2009-11-05 17:46:23 UTC in EclEmma - Java Code Coverage for Eclipse
-
Simply Starting Eclipse from within Eclipse. If you have the PDE feature installed (Plugin Development Environment) you have a launch type "Eclipse Application".
To set the breakpoint in Display.getDefault() import the plugin org.eclipse.swt.<yourplatform> from the "Plugins" view.
2009-11-04 19:46:48 UTC in EclEmma - Java Code Coverage for Eclipse
-
Well, if you think JaCoCo is useful you might tell friends and colleagues about it helping us to grow the user base.
After you used it for a while I would also appreciate a short review: What do you like about it? What needs improvement or should work differently?
-marc.
2009-11-03 21:53:32 UTC in EclEmma - Java Code Coverage for Eclipse
-
Great!
As you might have seen on the web page, JaCoCo is a pretty new and still under development. You might check for new versions from time to time. As we're still in the process of creating a user base, any kind of feedback is welcome!
Best regards,
-marc.
2009-11-03 12:29:22 UTC in EclEmma - Java Code Coverage for Eclipse
-
Fine!
Did you explicitely provide the OSGi bundles under test to the jacoco:report task? Something like this:
<jacoco:report>
<executiondata>
<file file="${coverage.exec.file}"/>
</executiondata>
<structure name="Example App">
<group name="com.example.bundle1">.
2009-11-03 11:51:31 UTC in EclEmma - Java Code Coverage for Eclipse
-
The folder ${reports}/raw/ should contain some *.xml file files with details about the failure (or you're generated JUnit test report). Could you please check this and provide a sample stack trace?
-marc.
2009-11-03 08:49:13 UTC in EclEmma - Java Code Coverage for Eclipse
-
It should be enough to just wrap your junit Ant tasks:
<jacoco:coverage>
<junit ... >
....
</junit>
</jacoco:coverage>
After your test suite finishes a jacoco.exec file should be writtem to the working directory (you might specify a different location, see [Ant task documentation][1]).
Why do you think this can't work...
2009-11-03 08:22:44 UTC in EclEmma - Java Code Coverage for Eclipse
-
mtnminds committed revision 800 to the EclEmma - Java Code Coverage for Eclipse SVN repository, changing 1 files.
2009-11-02 18:04:22 UTC in EclEmma - Java Code Coverage for Eclipse