lcov_cobertura-convert ulat coverage code ng mga file sa lcov format sa XML & nbsp Cobertura ni; format ng ulat sa gayon ay .ci mga server tulad Jenkins maaaring pagsama-samahin ang mga resulta at matukoy ang katatagan build atbp
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; >>> Mula 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; >>> 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
Mga Kinakailangan :
- Python
Mga Komento hindi natagpuan