lcov_cobertura converteert code coverage rapport bestanden in lcov formaat naar Cobertura's XML & nbsp; rapport formaat, zodat CI servers zoals Jenkins resultaten kunnen aggregeren en bepalen stabiliteit te bouwen etc.
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Van lcov_cobertura import LcovCobertura
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> LCOV_INPUT = "SF: foo / bestand.ext
DA: 1,1
DA: 2,0
end_of_record
'
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Converter = LcovCobertura (LCOV_INPUT)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Cobertura_xml = converter.convert ()
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Print cobertura_xml
Eisen
- Python
Reacties niet gevonden