eCobertura is a free Eclipse plugin for Cobertura, a Java code coverage reporting tool.
Questions tagged [ecobertura]
11 questions
8
votes
0 answers
eCobertura and dbunit don't find persistence.xml for tests
I have a couple of dbunit-tests for a jee5-project. They work great when I try to run them with "run as TestNG test" in Eclipse. But when I try to run them as "Cover as TestNG test" they fails with the error "javax.persistence.PersistenceException:…

Roland
- 5,328
- 10
- 37
- 55
5
votes
0 answers
Junit test run normally but fails with ecobertura - Wanted but not invoked appender.doAppend();
The following code:
@Mock
private Appender mockAppender;
@Captor
private ArgumentCaptor captorLoggingEvent;
...
verify(mockAppender, atLeastOnce()).doAppend(captorLoggingEvent.capture());
run normally as JUnit test but fails using…

user3252539
- 51
- 1
5
votes
1 answer
Cobertura Eclipse Plugin Local site - Download as Zip
I am trying to install the eCobertura plugin for Eclipse. In doing so, I found the update site http://ecobertura.johoop.de/update/.
But it's not working for me, probably due to some firewall issues. Is there a bundle I can download and install as…

Sid
- 4,893
- 14
- 55
- 110
2
votes
2 answers
failed to create task or type cobertura-instrument
Hi I am getting the Below Error:
build.xml:61: Problem: failed to create task or type cobertura-instrument
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any…

Rahul Jain
- 115
- 3
- 12
1
vote
1 answer
Installation of Cobertura Eclipse Plugin: "Could not find ecobertura.johoop.de/update"
I need to install the Cobertura Eclipse Plugin (eCobertura) which shows unit test coverage in Eclipse. (Another link here)
As instructed, I dragged the bar from the site into my Eclipse workspace, and got the following error:
So I decided to do it…

gene b.
- 10,512
- 21
- 115
- 227
1
vote
0 answers
eCobertura does not respect @CoverageIgnore
The eCobertura plugin for eclipse seams to ignoge the @CoverageIgnore tag. Classes or methods marked with the tag are still shown red and are counted as untested code in the coverage statistics.
Any ideas to get the @CoverageIgnore tags working?

BetaRide
- 16,207
- 29
- 99
- 177
0
votes
0 answers
Cobertura report is not generating when java version is changed from java 6 to 8
In my ant build.xml am using cobertra-2.1 jar and asm 5 jar Testng files executed successfully but report is not generating meanwhile instrumented folder also not generating.
Tried with different versions of jars asm-4.1 and asm 5 and cobertura…

AnilP8
- 1
- 1
0
votes
1 answer
unable to proceed installing ecobertura Eclilpse plugin
I am using Eclipse-lunar and tried to install ecobertura through http://ecobertura.johoop.de/update
An error occurred while collecting items to be installed
session context was:
(profile=epp.package.jee,
…

inayat
- 1
- 1
- 3
0
votes
0 answers
Eclemma or eCobertura execute coverage programatically using java?
I need to execute code coverage programatically for a project, I have searched and could not find anything helpful, the closest I got was using JaCoCo but I need either Eclemma or eCobertura or preferably both. If anyone can lead me into the right…

Glen F.
- 180
- 1
- 12
0
votes
2 answers
Unable to install cobetura plugin in eclipse
I'm trying to install Cobertura plugin (http://ecobertura.johoop.de/update/) on Helios version of my eclipse but getting this exception "org.eclipse.equinox.p2.core.ProvisionException", It says unable to read repository at…

user85
- 1,526
- 5
- 26
- 42
0
votes
1 answer
Eclipse run configurations empty with TestNG and eCobertura
My run configurations tab comes up empty: I can't see anything but the Name textbox and the Run and Cancel buttons.
I've checked the answers and restarted, refreshed, cleaned, rebuilt and even removed the launch entries and relaunched, but I still…

user2281204
- 81
- 1
- 3
- 13