Questions tagged [code-coverage]

Code coverage tools show how well a particular set of unit tests covers all areas of a particular piece of software. Code coverage reports allow unit test programmers to spot what parts of the program need more unit tests.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Code Coverage tool for C/C++

I am looking for code coverage tool for c and cpp code for Linux. Please recommend free or open source tool that can provide report stating total percentage of code covered by the unit tests. I will ...
1
vote
0answers
3 views

Tool for quick java code coverage check for Live deployment based on UI interaction

My context is I have an application (consider it as a black box for now) deployed on a JBoss server. I am in the process of analyzing and studying the application and has a very limited time frame to ...
0
votes
0answers
10 views

Code coverage tool for c# that also calculates branch coverage?

I was working with Typemock's coverage tool for measuring my code coverage. The thing is I am not able to see the covered branch calculation of the whole project and this is my main indicator about ...
0
votes
0answers
8 views

What is a good code coverage tool for Java?

I'm supposed to write unit test cases to increase code coverage to a certain percentage. To my surprise, all the test cases using PowerMock are not captured as covered. I've tried many things as some ...
0
votes
0answers
7 views

Need a tool to do code coverage for “Python web application” using java-Selenium test script like Clover for java based web application

Need a tool to do code coverage for "Python web application" using java-Selenium test script like Clover for java based web application. My application is: Python My selenium test scripts: 27,000 ...
1
vote
1answer
29 views

Is there a code coverage tool for Python 2.4?

My project is limited to python 2.4 due to, unfortunately, an essential third party library. I have a number of tests written using the unittest module. I would like to track test coverage. Is there a ...
1
vote
1answer
43 views

Static C++ Api coverage tool

Given a set of public headers, and various test code that makes use of these headers, I need to generate a list of used/unused API calls. I am working with a platform that can not easily have ...
2
votes
0answers
9 views

How can I have builds fail if new code is below coverage threshold?

Is there any Java testing framework (preferably Jacoco and/or Sonar) that will allow teams with poor code coverage, to forgive the existing code base, but require new code to be above a threshold, (...
2
votes
1answer
24 views

Hosted Python code coverage which is cost-free for FOSS projects?

Context I'm developing an application in Python with PyQt and for the testing I'm using the unittest Python module together with QtTest The project is FOSS and is hosted on Github. I'm using ...
4
votes
2answers
110 views

Tools for measuring test coverage of VDHL code

I need to measure the code coverage of VHDL code. Especially the following metrics are interesting: Statement coverage Branch coverage MC/DC coverage Toggle coverage The only tool (of which I am ...
3
votes
3answers
1k views

How to provide code coverage in exploratory manual testing (without unit tests)?

I'd like to make code coverage with a help of some tool, which should write code coverage in a runtime mode (like Bullseye for C++ as my colleague tells me, but I don't know exactly and can't confirm ...
2
votes
1answer
67 views

Is there a Java branch coverage tool which can tell you about the exact missing turns in branches?

I have used JaCoco for line coverage in a previous project. Although line coverage in IClassCoverage just gives you a ICounter which has only the counts just like the branch coverage, IClassCoverage ...
5
votes
2answers
630 views

Microsoft C++ Code Coverage software

I have an .exe file which loads a .dll file dynamically. The .dll file is passed as an argument to the program. Can I get code coverage of the .dll file using any coverage tools? What tools can I use ...
1
vote
1answer
390 views

Javascript coverage with source maps [closed]

There are lots of libraries for javascript client side code coverage, but surprisingly I've yet to find one supporting source maps. I'm coding in ES6, and would like to see the ES6 coverage results ...
1
vote
0answers
41 views

How to list classes/methods/lines, without being accessed after application running? [duplicate]

I'am developing an API in C# with Visual Studio 2010 and ReSharper, which reads in and parses specific binary files and converts them into useable objects. Meanwhile there are tons of classes, methods,...
5
votes
1answer
169 views

Java code coverage library

I am setting up code coverage for a multi-module Java application. The application has integration/functional tests which span across modules. For example, module-service, module-dao and module-api ...
20
votes
3answers
6k views

Tool for code coverage of (unit tests in) C#

I am in the process of writing unit tests for someone else's code. Right now, I am just sort of looking through all the classes of the main code branch to see if I have written tests to cover all ...