Questions tagged [test-coverage]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
32 views

Test Coverage Report in Cypress

I write my test cases in Confluence and then automate them in Cypress. I was wondering is there any way I can get the test coverage report. I already looked into Istanbul but it is for code coverage. ...
-1
votes
1answer
40 views

How to determine test coverage on a Protractor/Jasmine project

I'm new to a project that is in active development but is a mature application. It has a lot of Protractor/Jasmine tests, but they are organized somewhat poorly. For example, multiple identical or ...
1
vote
1answer
479 views

How many more test cases are required to achieve provide 100% statement and 100% decision coverage?

You have designed test cases to provide 100% statement and 100% decision coverage for the following fragment of code. if width > length then biggest_dimension = width else biggest_dimension = ...
0
votes
1answer
934 views

Given the following fragment of code, how many tests are required for 100% decision coverage?

if width > length then biggest_dimension = width if height > width then biggest_dimension = height end_if else biggest_dimension = length if height > ...
0
votes
2answers
59 views

Finding dead code by test tooling

Testing tools, unitary or functional, are running certain portions of code. So we can define an idea of code coverage, which is the part of the code that is actually being tested by the test tooling. ...
1
vote
1answer
154 views

Selenium test coverage visualization

We have a huge legacy application where unit/integration tests are impractical and most automation is done in Selenium with Java programming language in a separate automation project. There are about ...
0
votes
1answer
284 views

Code coverage tool for Python Web application tested by Java selenium tests

I have Web Application where the source code is in Python. All the regression tests are in Java. I wish to perform Code Coverage for the application. Please suggest a code coverage tool to instrument ...
4
votes
2answers
6k views

Code coverage for Selenium Tests

Is there any tool available to determine the code coverage for my selenium tests? My tests are written in Java having use of selenium WebDriver with BDD-Cucumber implementation in it.
0
votes
1answer
320 views

calculating minimum test cases for 0-Switch coverage

I'm new to testing and I don't understand 0-switch coverage and 1-switch coverage very well, I understand the concept but I don't know how to solve some questions like this one
1
vote
4answers
1k views

Difference between Test coverage and RTM?

What is difference between Test coverage and Requirement traceability matrix?
5
votes
2answers
110 views

Accumulated mass of tests - how to work with business to remove / refine?

Test object: a big monolith application (~500k loc) developed in Java for the last 15 years. Big and (probably overly) complicated backend + web frontend. There are many business processes implemented ...
0
votes
1answer
46 views

How to print out a list of students (from this dictionary) with a score above 40? [closed]

How can I print out a list of students (from this dictionary) with a score above 40, please: I would like to use an "If", else statement. But, I need help with how to get the computer to pick the 2nd ...
5
votes
6answers
1k views

How can 100% test coverage be "not enough to prove working code"?

It is known that 100% test/code coverage does not mean your code "works" as expected. What is generally meant by this statement and what use cases could demonstrate that 100% coverage is not enough?
6
votes
4answers
934 views

How would we know when we are over-testing?

I've recently heard the idea of over-testing for the first time while listening to the interview of the coverage.py maintainer on the Talk Python to Me podcast show. coverage.py has a new feature to ...
3
votes
3answers
2k views

How to calculate Test Coverage in Manual Black Box Testing

How should I calculate the test coverage for the manual testing I have done for my Software Project? Does it need some documentations like Test scenarios, test cases to calculate Test Coverage?
3
votes
1answer
94 views

Looking for a graphic tool to visually present testing coverage

I have been reviewing existing test cases. There is no easy way to visualise current testing coverage; the only way testing coverage can be assessed is reading through the test case repository, e.g. ...