Questions tagged [test-coverage]

"Test coverage" is used both as a synonym for [code-coverage] and to mean all measures of the extent of testing of a program including both [code-coverage] and [function-coverage].

"Test coverage" is used both as a synonym for and to mean all measures of the extent of testing of a program including both and .

In the latter sense, test coverage measures the amount of testing performed by a set of tests. Wherever we can count things and can tell whether or not each of those things has been tested by some test, then we can measure coverage, known as test coverage.

More Info

Both of the above articles discuss code coverage, not test coverage in the broader sense.

377 questions
-3
votes
1 answer

Junit code coverage for catch block in try catch

I am trying to write a JUnit for the below code but I am not getting any idea how to cover the code which is written in the catch block statement. Please can anyone write a sample JUnit for the below code? Here I don't want to cover any exception…
-3
votes
1 answer

How to measure test coverage

How can i measure the coverage of the manual tests? Are there tools to measure the coverage of the manual tests? I have searched but all the articles refer to unit tests Thank you
1 2 3
…
25
26