Dot Cover class exclusion issue
TeamCity Version 2018.2.1 (build 61078)
+:SSDG.Geif
-:SSDG.Geif type=*NewDataSet
-:FluentValidation
-:SSDG.Geif.RegEx.Tests
-:SSDG.Geif.Tests
-:SSDG.TLM.Shared
-:SSDG.TLM.SharedResources
-:SSDG.Utilities
The filters (above) I have set for Code Coverage do not stop the class NewDataSet from being included in the results. All of the other main assembly exclusions work. Is there a mistake with the syntax?
Additionally the attribute filter -:System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute doesn't work either
Please sign in to leave a comment.
Hi Paul,
Try using separator `;` between parts of your filter like the following:
-:SSD.Grief;type=*NewDataSet
And please see https://confluence.jetbrains.com/display/TCD18/JetBrains+dotCover for details.
Regarding to `ExcludeFromCodeCoverageAttribute`, could you share a test assembly and a screenshot of build step to reproduce?