Unit test coverage

Cyrille Berger Skott cberger at cberger.net
Sun Dec 12 10:00:09 GMT 2010


On Sunday 12 December 2010, Pierre Stirnweiss wrote:
> I have never really looked deep into how unit tests are set. Is there
> somewhere something I can read to give me more insight into this. For
> example, how is the coverage of a file calculated?
Coverage is simply equal to the number of line that where executed at least 
once divided by the total number of lines in the project. With 26%, it means 
that a little bit more of a quarter of the line codes are tested.

-- 
Cyrille Berger Skott



More information about the calligra-devel mailing list