Unit test coverage

Boudewijn Rempt boud at valdyas.org
Sun Dec 12 13:50:38 GMT 2010


On Sunday 12 December 2010, Cyrille Berger Skott wrote:
> 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.

That really _is_ pretty good!

-- 
Boudewijn Rempt | http://www.valdyas.org, http://www.krita.org



More information about the calligra-devel mailing list