Closed cconstable closed 4 years ago
Hey @joshdholtz, hope you are staying safe! Do you have any thoughts on this? If you feel additional changes are needed I would be happy to make them.
@cconstable Ah, sorry I missed this! I appreciate the ping 😊 This looks good! I'll merge and get a new version out 💪
@cconstable 1.7.4 is release!
What
Adds the file path when generating json reports (via
--json_report
).Old output
New output
Why
To assist automated tooling, it's helpful to know the path of the files. In larger projects, it's not uncommon to have duplicate file names across targets. Reconciling the coverage
name
with the actual file requires either a) parsing the Xcode coverage reports ourselves or b) keeping track of the corresponding target and parsing Xcode project files. Both options seem pretty unfortunate.Open questions