Can I Prevent MSTest TestClass and TestMethod being marked as "Never Used"?

Based on the thread "R#5  Unit Test-Classes and Method should not marked as never used", I looked and see that you have a C:\Program Files (x86)\JetBrains\ReSharper\v5.0\Bin\ExternalAnnotations\Microsoft.VisualStudio.QualityTools.UnitTestFramework.xml file. This file looks like it should prevent any method marked with the [TestMethod] attribute from being shown as never used.

This is not working for me on Visual Studio 2008 (running on a Windows 7 Enterprise system). Is there something I have to enable somewhere to make this work?

1 comment
Comment actions Permalink

Hello John,

Could you please attach a small sample solution demonstrating this problem?
Thank you!

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Based on the thread "/message/5248461#5248461", I looked and see that
you have a C:\Program Files
(x86)\JetBrains\ReSharper\v5.0\Bin\ExternalAnnotations\Microsoft.Visua
lStudio.QualityTools.UnitTestFramework.xml file. This file looks like
it should prevent any method marked with the attribute
from being shown as never used.

This is not working for me on Visual Studio 2008 (running on a Windows
7 Enterprise system). Is there something I have to enable somewhere to
make this work?

---
Original message URL:
http://devnet.jetbrains.net/message/5267687#5267687



0

Please sign in to leave a comment.