0
votes
1answer
24 views

Eclemma not offering report exportation option

I'm sure that I'm making some kind of rookie mistake, but I'm using EclEmma for the first time right now and can't figure out, despite checking numerous guides, how to export my coverage report. For ...
2
votes
0answers
468 views

Why does Cobertura report 0% coverage when run through the Eclipse plugin?

(There are a tonne of these questions, but all the ones I can find relate to Maven. Before you suggest this one is a duplicate, please understand that this doesn't relate to Maven in any way.) I am ...
0
votes
0answers
141 views

STS + Grails + Code Coverage plugin

I've recently added the Grails Code-Coverage plugin to my project. The coverage tools themselves work great. The issue I am facing is that every single time I run coverage, either on a single test ...
1
vote
0answers
130 views

Eclipse Kelper EclEmma code covarage exclude

I'm trying to exclude certain packages from eclipse code coverage tool EclEmma. I've found this post How do I ignore scanning certain classes using EclEmma and Eclipse? but it's not very useful. I've ...
0
votes
1answer
129 views

Emma instrumenting classes incorrectly

From working with EMMA I have noticed that it fails to instrument correctly causing the class to become mangled. Below is a simple example highlighting this issue. public void showProblem() { try ...
6
votes
0answers
129 views

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 ...
2
votes
3answers
2k views

Eclemma says 1 of 4 branches not covered, but which branch is it?

I feel like this is a dumb question, but is there a simple way to tell which branch I am missing? I.e. I have some code like this: if (x || y) { // Do stuff } In the coverage highlighting there ...
2
votes
1answer
261 views

Eclipse tool that shows which lines of code were hit throughout an execution?

I have a massive program, and I want to execute a use case (will require user input), which will not be a JUnit test, kill the program, and see which lines of code were hit. This simple use case will ...
0
votes
1answer
79 views

python: Run coverage on folder with tests in another folder (Eclipse PyDev)

I have my python modules in a folder A, but my tests in a folder B. When using coverage in Eclipse Pydev, how can I make this setup work? Things tried: Currently if I use A for the folder, got 0% ...
1
vote
1answer
45 views

Code coverage for selected packages

I am looking for a code coverage tool, which helps me find coverage of selected packages in my workspace. Solution pertaining to CI or Eclipse is welcome. I am aware that, I can manually calculate ...
0
votes
1answer
184 views

Code Coverage Source Annotation with EclEmma

I installed EclEmma for its source annotation abilities relating to code coverage, how it highlights code with various colors based on whether or not that code is hit during execution. I intend to use ...
2
votes
1answer
170 views

On-the-fly code coverage for a Maven project in Eclipse?

Is such a thing possible? To explain: I'm on a project where the Acceptance Tests are being run in a bespoke way from an actual webpage rather than as part of one of Maven's test phases. It's a long ...
0
votes
1answer
270 views

Eclipse Clover Plugin / Toggling Code Coverage Highlighting on Editor

I have recently been using Clover plugin for Eclipse and it's been incredibly useful. Perhaps the most useful part - the code coverage highlighting however is turning out to be incredibly annoying ...
2
votes
1answer
468 views

Eclipse EclEmma missed instructions

I'm using Eclipse-STS + EclEmma plugin to see coverage of my code. In all my abstract util classes (with only static methods) I see 3 missed instructions (Instructions Counter report) at the class ...
0
votes
1answer
104 views

Code Coverage in Web Applications (Wicket)

I am using Apache Wicket as my web application framework in Eclipse. Currently I have eCobertura as an eclipse plugin installed. But it needs a main() method to run. I do not have one. So how can I ...
0
votes
1answer
133 views

Eclipse in Linux: running a Junit coverage test gives an error “permission denied”

I am getting a java.io.IOException: Permission Denied error when I try to run a Coverage test over my Java project. I can run individual JUnit tests, and they work fine. Running the tests all ...
3
votes
1answer
705 views

EMMA [MAIN_METHOD_NOT_FOUND] in Java 7

I have switched to the newest JDK 7 and I having a problem of running of emma code coverage using ant. It throws the following error: emma: [emmajava] EMMA: no coverage data collected at runtime ...
0
votes
1answer
332 views

eclipse CDT - Cannot open .gcda files

I am developing a coverage data tool in eclipse cdt. I used gcov and build and execute my C program to generate .gcda and .gcno files. When double click on .gcda file to see the coverage data, below ...
5
votes
2answers
1k views

Ignore code coverage for unit tests in EclEmma

I have configured EclEmma not to instrument my unit tests which works fine. However, the editor still highlights the test code as not covered. I want no highlighting in unit tests because they are not ...
1
vote
1answer
289 views

Codecover plugin and eclipse - fatal error

I installed CodeCover to my STS so I can use it in my project. I can run code cover and get the measurments, but there is one thing that is bothering me. If I enable code cover for a given project, ...
3
votes
3answers
511 views

Can fully covered code have an EclEmma coverage rating of less than 100%?

I just wrote some simple sample code to make sure that I had EclEmma installed correctly. I'm not getting 100% coverage, and I don't understand why. The highlighting implies that it has to do with the ...
4
votes
1answer
1k views

JSTestDriver coverage eclipse plugin

I'm using JSTestDriver Eclipse plug-in and I want to install the coverage plugin: does anybody know how to get it working in Eclipse? thanks in advance Other things to note: I am under Win XP 64 ...
1
vote
0answers
209 views

gcov filter result and files

i'm using eclipse indigo with linux tools. one of the tools is plugin of gcov. i have a project which is statis lib (dot a file) and another project that is a unit test that link with this lib and ...
3
votes
2answers
575 views

Highlight piece of codes with Eclipse

I want to know if an Eclipse plugin exists in order to highlight some pieces of code. We are a team that needs to upgrade an application to a new version and we have to know the code that has already ...
3
votes
1answer
244 views

Run All the Tests

Is there a way to run all the tests in multiple eclipse projects? I have a maven multi module project and want to use emma to show me code, that is not covered by any tests, not matter in which ...
22
votes
3answers
20k views

Eclipse plugin for code coverage [closed]

I search a code coverage plugin for eclipse. My question is simple: Which plugin do you use with eclipse for code coverage and why ?
5
votes
2answers
466 views

Measure Scala Code coverage in testcases in Eclipse

I am in a situation, where I have a number of ScalaTest written tests (JUnit compatible), and I want to measure how good codecoverage I get, when running the test. I don't want to use SBT directly, ...
1
vote
1answer
388 views

How to run my android project in coverage mode in eclipse? [duplicate]

Possible Duplicate: Android test code coverage, Eclipse I have already installed eclemma plug-in for eclipse and i can see luncher icon in eclipse too but when i lunch my project in ...
86
votes
4answers
13k views

Clearing coverage highlighting in Eclipse

After running coverage reports in Eclipse (using cobertura or an EMMA plugin), my source code files get highlighted in green, red and yellow depending on which lines of code were covered by tests. ...
2
votes
1answer
1k views

Set up coverage configuration on pydev

I reinstalled Eclipse with pydev (2.0.0.2011040403) but the run configuration with "coverage" is missing from the debug and run menus. I am sure that option used to be there, how can I get it show up ...
7
votes
2answers
11k views

cobertura in eclipse

I just installed ecobertura plugin, but it looks like not a very user-friendly tool from within eclipse. is there any good plugin for cobertura in eclipse or article to describe how to use ecobertura? ...
21
votes
4answers
3k views

Emma coverage on Enum types

I'm running EclEmma, the Emma plugin for Eclipse, and the coverage report shows only partial coverage for an Enum I've defined, even though it shows the only value in the Enum as being covered. I'm ...
1
vote
0answers
473 views

PyDev: Code Coverage Tool displays always 0%

I am using the plugin "PyDev" for Eclipse. This puligun includes a Code-Coverage Tool. I get no results when I execute my python file via right click-> "Run as" -> "Python Code Coverage". The ...
12
votes
3answers
7k views

How to get unit test coverage results in Eclipse + Pydev?

I know Eclipse + PyDev has an option Run As => 3 Python Coverage. But all it reports is: Ran 6 tests in 0.001s OK And it says nothing about code coverage. How to get a code coverage report ...
1
vote
3answers
917 views

Emma Coverage metadata [closed]

I'm trying to understand Emma the code coverage tool and it seems ok till the moment I need the metadata, for example which line exactly is left out or is covered. I need this information for my own ...
2
votes
2answers
1k views

Integrating command-line generated python .coverage files with PyDev

My build environment is configured to compile, run and create coverage file at the command line (using Ned Batchelder coverage.py tool). I'm using Eclipse with PyDev as my editor, but for practical ...
4
votes
3answers
320 views

How to identify which lines of code participated in a specific execution of a Java program?

Suppose that I have a Java program within an IDE (Eclipse in this case). Suppose now that I execute the program and at some point terminate it or it ends naturally. Is there a convenient way to ...