Skip to main content

Questions tagged [test-coverage]

0 votes
4 answers
252 views

Test coverage is a pretty straightforward term which doesn't need any explanation: how much is something "covered" by tests. Similarly you would use for example snow coverage, to say how ...
Marco Lackovic's user avatar
-1 votes
3 answers
515 views

Most of the articles I read state that the average number of defects per KLOC is 10-15 (most of the data seems to come from Microsoft). How does that number correlate with code coverage? If my project ...
ihi's user avatar
  • 9
0 votes
3 answers
296 views

Suppose you have been put in charge of an already existing project. As you are starting to familiarize yourself with the repository, you notice a few technical debt issues (insufficient test coverage, ...
EdG's user avatar
  • 11
0 votes
0 answers
79 views

How do I solve this riddle of contradicting "good practices" to properly cover my app with unit-tests? These are principles I found about writing unit-tests: Pyramid of testing says unit-...
Gherman's user avatar
  • 945
2 votes
1 answer
460 views

During unit testing it is possible to estimate the code coverage to see which share of the code base is covered by the tests. For one part (the simple calculatable one) of a risk estimation we need to ...
Joe's user avatar
  • 129
-4 votes
1 answer
1k views

Here is an example with the function: Examining this I believe that it is possible to achieve 100% path coverage. My understanding of path coverage is that you need to design test cases such that ...
Sri's user avatar
  • 13
4 votes
4 answers
636 views

I'm currently working in a project that aims to implement automatic testing of a software package. You can imagine this software is a bit like Excel in that it has a workspace that contains all the ...
gibson's user avatar
  • 167
8 votes
7 answers
3k views

Let's say we have a code base covered with big enough amount of unit tests. We make small change to the code and want to check if tests are still passing. Wouldn't it be great to be able to rerun just ...
Andrew Lanin's user avatar

15 30 50 per page
1
2 3 4 5 6