coverlet.collector format: possible to specify without runsettings file?
See original GitHub issueThis 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.)
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
coverlet/Documentation/VSTestIntegration.md at master
Without specifying a runsettings file and calling coverlet by just the name of the collector, the result of the generated coverage output is...
Read more >Configure unit tests by using a .runsettings file
In Solution Explorer, on the shortcut menu of your solution, choose Add > New Item, and select XML File. Save the file with...
Read more >Customizing Code Coverage Analysis - Visual Studio
You can also specify different formats from the command-line by either specifying it in the runsettings file or specifying it in a parameter....
Read more >specified .runsettings file not used in code coverage run - ...
1 Answer 1 ... You cannot exclude classes using runsettings file by just providing the class name. ... YourNamespace.YourClass.Method(parameters);.
Read more >Using .runsettings to exclude assemblies from code coverage
I'm facing a similar issue, with a much simpler file. With the default runsettings file, I'm able to get code coverage. When I...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In case anyone wants to know, It is possible to set the format although it’s a bit long winded, for example.
DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
Asap I’ll add documentation on it, not the best way but better than nothing for now