lcov_cobertura alakítja kódlefedettséget jelentést fájlokat lcov formátumban Cobertura XML & nbsp; a jelentés formátumot úgy, hogy CI szerverek, mint Jenkins is összesíteni az eredményeket és meghatározni épít stabilitás stb
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> From lcov_cobertura import LcovCobertura
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> LCOV_INPUT = 'SF: foo / fájl.kit
DA: 1,1
DA: 2,0
end_of_record
"
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Átalakító = LcovCobertura (LCOV_INPUT)
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Cobertura_xml = converter.convert ()
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Print cobertura_xml
követelmények :
- Python
Hozzászólás nem található