question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

In coverlet.collector, allow repeating configuration elements in runsettings

See original GitHub issue

When excluding multiple elements, the current format can make things a bit unwieldy (and makes the changes much harder to track

<Exclude>[lib]ns1.*,[lib]ns2.*</Exclude>

It would be nice if we could specify multiple items on different Exclude nodes:

<Exclude>[lib]ns1.*</Exclude>
<Exclude>[lib]ns2.*</Exclude>

Same goes for the other colon separated settings

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
EricStGcommented, Jan 6, 2020

I sure can

0reactions
MarcoRossignolicommented, Jan 6, 2020

Check here and let me know if something is not clear https://github.com/tonerdo/coverlet/blob/master/CONTRIBUTING.md

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to get coverage result: Unable to read beyond ...
And test.runsettings contains a DataCollector element with ... Let me avoid repeating the same 'magic string' in two places.
Read more >
coverlet/Documentation/VSTestIntegration.md at master
These are a list of options that are supported by coverlet. These can be specified as datacollector configurations in the runsettings.
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 >
Configure unit tests by using a .runsettings file
Learn how to use the .runsettings file in Visual Studio to configure unit tests that are run from the command line, from the...
Read more >
Customizing Code Coverage Analysis - Visual Studio
The run settings file is the configuration file used by unit testing tools. Advanced code coverage settings are specified in a .runsettings ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found