در lcov_cobertura تبدیل فایل های گزارش پوشش کد در قالب lcov به XML و nbsp Cobertura است؛ فرمت گزارش به طوری که سرور CI مانند جنکینز می تواند نتایج جمع و تعیین ساخت ثبات و غیره
و nbsp؛ & nbsp؛ از & nbsp؛ از & nbsp؛ از & nbsp؛ از & nbsp؛ در و nbsp؛ >>> از lcov_cobertura واردات LcovCobertura
و nbsp؛ & nbsp؛ از & nbsp؛ از & nbsp؛ از & nbsp؛ از & nbsp؛ در و nbsp؛ >>> LCOV_INPUT = 'SF: مواد غذایی / file.ext
DA: 1،1
DA: 2،0
end_of_record
'
و nbsp؛ & nbsp؛ از & nbsp؛ از & nbsp؛ از & nbsp؛ از & nbsp؛ در و nbsp؛ >>> مبدل = LcovCobertura (LCOV_INPUT)
و nbsp؛ & nbsp؛ از & nbsp؛ از & nbsp؛ از & nbsp؛ از & nbsp؛ در و nbsp؛ >>> cobertura_xml = converter.convert ()
و nbsp؛ & nbsp؛ از & nbsp؛ از & nbsp؛ از & nbsp؛ از & nbsp؛ در و nbsp؛ >>> cobertura_xml چاپ
مورد نیاز:
پایتون
نظر یافت نشد