dotCover does not respect ExcludeFromCodeCoverage attribute when run from TeamCity

i'm using TeamCity 7.0.3

I have a bunch of classes attributed with [ExcludeFromCodeCoverage]

When I run dotCover from within Visual Studio the relevant classes are excluded from code coverage.

However when I run dotCover from TeamCity the attribute is not respected.

I've looked at this post (http://devnet.jetbrains.com/message/5468058) in which the poster adds the attribute to 'Attribute Filters' but this config text box doesnt exist in my version of TeamCity;


How can I get dotCover to respect [ExcludeFromCodeCoverage] when run from TeamCity?

1 comment
Comment actions Permalink

as per your docs (http://confluence.jetbrains.com/display/TCD7/JetBrains+dotCover) you need TeamCity 7.1 for this attribute.

however dotCover (in Visual studio) respects this by default so why not in TeamCity too ?

0

Please sign in to leave a comment.