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
Comments
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).
I agree with you users experience with runsettings is not so great. |
In case anyone wants to know, It is possible to set the format although it's a bit long winded, for example.
|
Oh, sorry I misunderstood the question...every parameters inside runsettings can be specified by using xml flat syntax, I meant that there is no @ItsVeryWindy thanks for your addition! |
That's exactly what I was looking for. Thanks |
Really interesting! I think it should be officially documented if it's not already. |
Asap I'll add documentation on it, not the best way but better than nothing for now |
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.)
The text was updated successfully, but these errors were encountered: