Questions tagged [test-coverage]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 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
45 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
67 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
125 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
4k 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.
-1
votes
1answer
109 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
550 views

Difference between Test coverage and RTM?

What is difference between Test coverage and Requirement traceability matrix?
5
votes
2answers
108 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
45 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
933 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
677 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
1k 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
93 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. ...