lcov_cobertura wandelt Codeabdeckung Berichtsdateien in lcov Format Cobertura XML & nbsp; Bericht-Format, so dass CI-Server wie Jenkins können die Ergebnisse zu aggregieren und zu bestimmen, bauen Stabilität usw.
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Von lcov_cobertura Import LcovCobertura
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> LCOV_INPUT = 'SF: foo / file.ext
DA: 1,1
DA: 2,0
end_of_record
'
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Konverter = LcovCobertura (LCOV_INPUT)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Cobertura_xml = converter.convert ()
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Print cobertura_xml
Anforderungen :
- Python
Kommentare nicht gefunden