Questions tagged [test-coverage]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
3 answers
56 views

Difference between Test Coverage AND code coverage?

My team asked me to measure the Test coverage percentage via a tool i choose ( how many tests from the app features are covered by automated testing ) , so i added the gitlab coverage badge and now i ...
user avatar
0 votes
0 answers
30 views

tool recommendation to get line coverage against Manual and Automated test cases (offline instrumentation)

Our team uses the traditional method of building new test cases based on the feature requirements and testing them (manually or through automation) and getting them reviewed by the dev and product ...
user avatar
2 votes
2 answers
76 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. ...
user avatar
  • 31
-1 votes
1 answer
62 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 ...
user avatar
1 vote
1 answer
669 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 = ...
user avatar
0 votes
1 answer
3k 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 > ...
user avatar
0 votes
2 answers
83 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. ...
user avatar
1 vote
1 answer
302 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 ...
user avatar
  • 115
0 votes
1 answer
449 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 ...
user avatar
4 votes
2 answers
9k 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.
user avatar
0 votes
1 answer
589 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
user avatar
  • 11
1 vote
4 answers
2k views

Difference between Test coverage and RTM?

What is difference between Test coverage and Requirement traceability matrix?
user avatar
  • 21
5 votes
2 answers
112 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 ...
user avatar
0 votes
1 answer
48 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 ...
user avatar
  • 3
5 votes
6 answers
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?
user avatar
  • 11.4k
6 votes
4 answers
1k 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 ...
user avatar
  • 11.4k
3 votes
3 answers
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?
user avatar
  • 591
3 votes
1 answer
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. ...
user avatar
  • 9,650