Skip to content

Output multiple formats when executed via vstest (coverletArgs.runsettings) #490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
molszews opened this issue Jul 16, 2019 · 3 comments · Fixed by #533
Closed

Output multiple formats when executed via vstest (coverletArgs.runsettings) #490

molszews opened this issue Jul 16, 2019 · 3 comments · Fixed by #533
Labels
feature-request New feature request up-for-grabs Good issue for contributors

Comments

@molszews
Copy link

Hey, is there a way to output multiple attachments with coverage results in different formats when VSTest integration is used?
Settings parser right now takes the first format defined from .runsettings file: https://github.com/tonerdo/coverlet/blob/66a01198679f8d2c0e79d1fe1955d1e5553abecc/src/coverlet.collector/DataCollection/CoverletSettingsParser.cs#L88

@MarcoRossignoli MarcoRossignoli added the question This issue is a question label Jul 16, 2019
@MarcoRossignoli
Copy link
Collaborator

cc: @vagisha-nidhi

@vagisha-nidhi
Copy link
Contributor

We need to look at if we can get multiple attachments from datacollectors to test platform.
cc: @cltshivash @PBoraMSFT

@vagisha-nidhi
Copy link
Contributor

@MarcoRossignoli Multiple attachments support is present in datacollectors.
We just need to get the logic of creating reports out of Coverage Manager and do something like this https://github.com/tonerdo/coverlet/blob/09f91f2afa623dbd011acac8a10f6023d9513812/src/coverlet.msbuild.tasks/CoverageResultTask.cs#L99 for each report format and send them all to test platform.

@MarcoRossignoli MarcoRossignoli added enhancement General enhancement request up-for-grabs Good issue for contributors and removed question This issue is a question labels Aug 19, 2019
@MarcoRossignoli MarcoRossignoli added feature-request New feature request and removed enhancement General enhancement request labels Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request up-for-grabs Good issue for contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants