I’m trying to add two coverage exclusion rules and they work independently but not together. The first is intended to filter all files that end in “ControllerDocumentation.cs” and the second is intended to filter all files that fall under folders that start with “MyProject.Tests”. The config looks like:
What fixed it for me was using the web client for the configuration. However, I’d really like to be able to handle it as a part of my CI scripts so it could be version controlled. Would be happy to work with you to get that figured out.
We’re using command line configuration. The only thing that’s special is we’re using Azure Pipelines. I haven’t tried running the console runner myself manually. The reason I don’t think Azure Pipelines is the issue is because if I just do one or the other pattern it works fine. I’m inferring that Azure Pipelines is transparently passing those values in but that may not be true.
Hi @Saeven, feel free to send me a Run Code Analysis task log in debug mode (i can send you a PM if you need to share it privately) so then i can have a look. Thanks !