Creates a Cobertura format report from other report formats.
Takes either OpenCover or classic NCover format input as an XDocument, as an argument or from the object pipeline.
Writes the Cobertura report to the object pipeline as an XDocument, and optionally to a file.
public static XDocument ConvertToCobertura(XDocument document, IEnumerable<string> packages)
| parameter | description |
|---|---|
| document | The report to convert. |
| packages | Possibly empty list of package root folders. |
The converted document