Comments (3)
Here's my anonymized finecodecoverage-settings.xml
<FineCodeCoverage>
<Enabled>
True
</Enabled>
<Exclude>
[*]FooNameSpace.*
</Exclude>
<ExcludeByFile>
**/XSDGenerated.designer.cs
</ExcludeByFile>
<ExcludeByAttribute>
</ExcludeByAttribute>
<ModulePathsExclude>
.*UnitTests.dll
.*Moq.dll
</ModulePathsExclude>
</FineCodeCoverage>
from finecodecoverage.
The expected behaviour is that the applicable settings for the coverage provider in use should be applied, and they are. You can see that in the FCC output pane of the Visual Studio output window.
You have a mixture of coverage settings. ModulePathsExclude is an ms code coverage setting whereas Exclude / ExcludeByFile and ExcludeByAttribute are OpenCover / Coverlet settings ( non ms code coverage ).
from finecodecoverage.
Thanks @tonyhallett great answer! I know exactly what to do now, not!
from finecodecoverage.
Related Issues (20)
- FCC does not show code coverage for sourcelink enabled projects. HOT 6
- Coverage is not done when XML deserialize called from unit test .Net7 C# HOT 1
- FCC isn't reporting on one of my two MAUI projects. HOT 2
- FCCSolutionOutputDirectoryName not working within finecodecoverage-settings.xml HOT 2
- Lambdas not excluded when using the [ExcludeFromCodeCoverage] attribute HOT 1
- VS2022 - latest version 17.7.4 HOT 25
- Highlight rows on hover HOT 1
- Exclude file patterns and an assembly from CodeCoverage. Can FCC run in a BuildServer? HOT 47
- Command that can be executed in the a BuildServer (gitHub for example) HOT 2
- Unable to configure coverlet with DoesNotReturnAttribute option HOT 7
- Not working after uninstall/reinstall HOT 6
- Export to CSV HOT 2
- Reports it won't run as it is disabled, but it isn't HOT 2
- Setting 'Enabled=True' in settings file doesn't enable FCC coverage when 'Enabled=False' in global Visual Studio settings HOT 1
- Test project still included in coverage results HOT 3
- FCC not working on Visual Studio version 17.9.0 Preview 2.0 HOT 2
- Coverage mechanism could auto-detect Microsoft Test Framework or XUnit test methods and exclude them HOT 4
- Filter projects/files with 100% or 0% coverage HOT 4
- Organize coverage report by namespace/folder HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finecodecoverage.