[Development] Code coverage statistics online
Lorn Potter
lorn.potter at gmail.com
Thu Sep 27 10:18:20 CEST 2012
On 27/09/12 04:06, Harri Porten wrote:
> Hi!
>
> We started publishing code coverage results of Qt 5 unit test runs as
> produced by our tool Squish Coco:
>
> http://download.froglogic.com/public/qt5-squishcoco-report/ (results)
> http://download.froglogic.com/public/effectively-testing-qt5-using-squishcoco/ (setup and example)
>
>>From that link you can browse to the coverage data of libraries, functions
> and source files.
>
> We chose a decision/coverage analysis method. In comparison to line
> coverage this is a bit harder to grasp and gives different numbers but for
> a developer it's the more useful. I plan to follow up with a study of a
> small number of exemplaric cases accompanied with suggested patches to
> tests and maybe code. And to make things easier to understand in the
> mostly-static HTML output we'll also improve the coloring of instrumented
> branches soon.
>
> Provided that the cron job works the results will be updated daily. If
> anyone has an idea how this could be integrated more tightly with the
> automated Qt project test results please let us know. Caroline Chao was
> already using a predecessor of the tool for the same purpose within
> the Nokia build infrastructure btw.
>
> Feedback of any kind is welcome.
Would you include add-ons in the reports too?
Anyway to get run output logs from failed tests?
--
Lorn Potter
Senior Software Engineer, QtSensors/QtSensorGestures/QtSystemInfo
More information about the Development
mailing list