Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Added function for converting coverage source format to Cobertura xml #1533

Merged
merged 15 commits into from
Jan 7, 2022

Conversation

hayleycall
Copy link
Contributor

@hayleycall hayleycall commented Dec 16, 2021

Summary of the Pull Request

Added function to take in SourceCoverage struct from coverage source format and convert to a format that aligns with Cobertura guidelines as xml output.

PR Checklist

Info on Pull Request

Adds function for converting source format, specifically a SourceCoverage struct to Cobertura XML.

Validation Steps Performed

Test added to manually create XML format vs. reading in a SourceCoverage struct and creating the XML format from that.

src/agent/coverage/src/cobertura.rs Outdated Show resolved Hide resolved
src/agent/coverage/src/cobertura.rs Outdated Show resolved Hide resolved
src/agent/coverage/src/cobertura.rs Show resolved Hide resolved
src/agent/coverage/src/cobertura.rs Outdated Show resolved Hide resolved
src/agent/coverage/src/cobertura.rs Show resolved Hide resolved
@hayleycall hayleycall merged commit e89e7b2 into microsoft:main Jan 7, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Feb 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants