What is the percentage of code coverage for your project?

What is% code coverage in your project? I'm curious why.

Is the development team happy with this? If not, what is in the way of increasing it?

Stuart Halloway is one whose projects are 100% focused (or building gaps!). Anyone at this level?

We are at a painful 25%, but aim for 80-90% for the new code. We have an outdated code that we decided to leave alone as it evaporates (we are actively rewriting).

+3
source share
7 answers

85% , . , . , - , , . , , .

+3

80% - . thrgouh ( ), . , Pri 1 .

, . , 70%, - , 50% - . , .

, Dev- . Devs , , . - , , .

Btw, . , unmbers - unit, .

+2

- 80% , . 90% , .

+1

, . 70% 100% :

1) , , , . .

2) , 100% - , , . . , , 100%. Jame Whittakers , .

, , , this this SQAforums. , 100% - .

0

Perl. 250 70% 33%

0

0% . , , , , , != .

0

The project that I did a couple of years ago reached 100% coverage of the line, but I had full control over it so that I could impose a target.
Now we have a goal to cover 50% of the new code, which will grow in the near future, but will not be able to measure it. Soon we will have tools for measuring code coverage for every night testing unit tests, so I am convinced that our position will improve.

0
source

Source: https://habr.com/ru/post/1698176/


All Articles