to_cobertura | R Documentation |
Create a
cobertura-compliant XML report following this DTD.
Because there are two DTDs called coverage-04.dtd
and some tools do not seem to
adhere to either of them, the parser you're using may balk at the file. Please see
this github discussion for
context. Where covr
doesn't provide a coverage metric (branch coverage,
complexity), a zero is reported.
to_cobertura(cov, filename = "cobertura.xml")
cov |
the coverage object returned from |
filename |
the name of the Cobertura XML file |
Note: This functionality requires the xml2 package be installed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.