Skip to content

Full FunTuple test coverage

Eduardo Rodrigues requested to merge erodrigu-full-FunTuple-coverage into master

Indeed I noticed that it was not the case with unit pytests, though I realise that a lot is in fact indirectly tested in DaVinciTests and DaVinciExamples.

Before:

---------- coverage: platform linux, python 3.9.12-final-0 -----------
Name                                                 Stmts   Miss  Cover   Missing
----------------------------------------------------------------------------------
Phys/FunTuple/python/FunTuple/FunctorCollection.py      88      0   100%
Phys/FunTuple/python/FunTuple/common_util.py            85     11    87%   19, 26-30, 38-40, 43-45, 48, 54-55
Phys/FunTuple/python/FunTuple/functions.py              48      1    98%   206
----------------------------------------------------------------------------------
TOTAL                                                  221     12    95%

After:

---------- coverage: platform linux, python 3.9.12-final-0 -----------
Name                                                 Stmts   Miss  Cover   Missing
----------------------------------------------------------------------------------
Phys/FunTuple/python/FunTuple/FunctorCollection.py      88      0   100%
Phys/FunTuple/python/FunTuple/common_util.py            84      0   100%
Phys/FunTuple/python/FunTuple/functions.py              48      0   100%
----------------------------------------------------------------------------------
TOTAL                                                  220      0   100%
Edited by Eduardo Rodrigues

Merge request reports