Szczegóły programowe:
lcov_cobertura konwertuje pliki raportu pokrycie kodu w formacie lcov do cobertura w XML & nbsp; format raportu tak, że serwery CI jak Jenkins może zsumować wyniki i określić stabilność kompilacji itp
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Z lcov_cobertura importu 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; >>> Konwerter = LcovCobertura (LCOV_INPUT)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Cobertura_xml = Converter.Convert ()
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Print cobertura_xml
Wymagania :
- Python
Komentarze nie znaleziono