Attribute filter syntax for code coverage (Teamcity 7.01, MSTest, dotcover)

Hi! I am trying to add an attribute filter for excluding certain methods from coverage collection. I wanted to mimic the dotcover 2 default exclusion of methods marked with ExcludeFromCodeCoverageAttribute.
This off course works when running in Visual Studio, but it is ignored in TeamCity. So I was wondering how should I specify it in TeamCity? I have tried:


In MsTest -> .Net Coverage -> Attribute Filters: but it does not bite...

I have attached a screenshot as well.



1 comment
Comment actions Permalink

Ok so this worked:



Please sign in to leave a comment.