Skip to content
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

coverlet.collector format: possible to specify without runsettings file? #563

Open
escalonn opened this issue Sep 23, 2019 · 1 comment
Open

Comments

@escalonn
Copy link

@escalonn escalonn commented Sep 23, 2019

This section of the docs suggests that it's possible to set the Format option without needing a runsettings file. (Possibly with a runsettings command line argument after -- ?)

If so, provide an example.

If not, please clarify in the docs that changing any options, including format, requires a runsettings file. (If true, this is pretty obnoxious compared to the way it works with MSBuild integration.)

@MarcoRossignoli

This comment has been minimized.

Copy link
Collaborator

@MarcoRossignoli MarcoRossignoli commented Sep 23, 2019

This section of the docs suggests that it's possible to set the Format option without needing a runsettings file.

Sorry @escalonn maybe the guide is not clear...we mean that the format parameter is the only "default" parameter passed and the default format is cobertura(https://github.com/tonerdo/coverlet/blob/master/src/coverlet.collector/Utilities/CoverletConstants.cs#L8).
We should improve that part of documetation. Feel free to offer a PR if you want.

If not, please clarify in the docs that changing any options, including format, requires a runsettings file. (If true, this is pretty obnoxious compared to the way it works with MSBuild integration.)

I agree with you users experience with runsettings is not so great.
We talked a bit in past with vstest team(on our side we cannot do nothing for it) cc: @vagisha-nidhi to understand if there are plan by vstest team to improve user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.