Closed dblandin closed 6 years ago
@dblandin this LGTM overall, do you know if the attribute path
is not present on older versions of the XML report?
I'm not sure which is why I added the fallback.
@ale7714 For what it's worth, the fixture example included in this repo does not include the path
attribute: https://github.com/codeclimate/test-reporter/blob/master/formatters/clover/example.xml#L5
The XML report generated by more recent versions of clover include the full path to the file within a
path
attribute. Thename
attribute in these reports contains just the filename without any directory structure.To support reading the source file, we'll need to reference this new attribute.