R# Test Runner ignoring Ignore attribute

Running in VS 2010 with R# 6.0.2145.245 if you execute Run All Tests it runs them all even if they have an Ignore attribute present.

This is true for MSTest, not sure about NUnit

7 comments

Hello Paul,

I'm afraid I couldn't reproduce this behavior. Could you please attach a
small sample solution demonstrating it? Thank you!

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

Running in VS 2010 with R# 6.0.2145.245 if you execute Run All Tests
it runs them all even if they have an Ignore attribute present.

This is true for MSTest, not sure about NUnit

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



0

The Ignore attribute is obeyed on methods, but not on classes

0

I am also getting this error as stated before.

Machine Info:

Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.0.30319 SP1Rel

Installed Version: Premium

Microsoft Office Developer Tools   01021-532-2002102-70223
Microsoft Office Developer Tools

Microsoft Visual Basic 2010   01021-532-2002102-70223
Microsoft Visual Basic 2010

Microsoft Visual C# 2010   01021-532-2002102-70223
Microsoft Visual C# 2010

Microsoft Visual C++ 2010   01021-532-2002102-70223
Microsoft Visual C++ 2010

Microsoft Visual F# 2010   01021-532-2002102-70223
Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Code Analysis Spell Checker   01021-532-2002102-70223
Microsoft Visual Studio 2010 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Microsoft Visual Studio 2010 Team Explorer   01021-532-2002102-70223
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010   01021-532-2002102-70223
Microsoft Visual Web Developer 2010

ActiveReports 6   
Active Reports 6 for Visual Studio

Atlassian Connector   1.3.4-20111011-1133
Provides integration of Atlassian products with Visual Studio

Crystal Reports Templates for Microsoft Visual Studio 2010   
Crystal Reports Templates for Microsoft Visual Studio 2010

JetBrains ReSharper 6.0   Full Edition build 6.0.2202.688 on 2011-06-30T04:14:16
JetBrains ReSharper 6.0 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2011 JetBrains, Inc.

Microsoft Team Foundation Server 2010 Power Tools   3.1.30831.0
Power Tools that extend the Team Foundation Server integration with Visual Studio.

Microsoft Visual Studio 2010 Premium - ENU Service Pack 1 (KB983509)   KB983509
This service pack is for Microsoft Visual Studio 2010 Premium - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/983509.

Microsoft Visual Studio 2010 SharePoint Developer Tools   10.0.40219
Microsoft Visual Studio 2010 SharePoint Developer Tools

Microsoft Visual Studio Process Editor   1.0
Process Editor for Microsoft Visual Studio Team Foundation Server

VisualSVN   2.0.2
Integration with Subversion version control. For more information about VisualSVN, see the VisualSVN website at http://www.visualsvn.com
Copyright (c) 2005-2009 VisualSVN Ltd.





ReSharper Info:

JetBrains ReSharper 6.0 Full Edition
Build 6.0.2202.688 on 2011-06-30T04:14:16

Licensed to: ATCO-I-TEK
Plugins: none
Visual Studio 10.0.40219.1.

Copyright © 2003–2011 JetBrains s.r.o. All rights reserved.




Attachment(s):
MSTest_Ignore_Class_Attribute_BUG.zipx.zip
0

Hello Ted,

I wasn't able to extract the files from the attached archive. Could you please
re-create the archive and attach it once again? Thank you!

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

I am also getting this error as stated before.

Machine Info:
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.0.30319 SP1Rel
Installed Version: Premium

Microsoft Office Developer Tools   01021-532-2002102-70223 Microsoft
Office Developer Tools

Microsoft Visual Basic 2010   01021-532-2002102-70223 Microsoft Visual
Basic 2010

Microsoft Visual C# 2010   01021-532-2002102-70223 Microsoft Visual C#
2010

Microsoft Visual C++ 2010   01021-532-2002102-70223 Microsoft Visual
C++ 2010

Microsoft Visual F# 2010   01021-532-2002102-70223 Microsoft Visual F#
2010

Microsoft Visual Studio 2010 Code Analysis Spell Checker
01021-532-2002102-70223 Microsoft Visual Studio 2010 Code Analysis
Spell Checker

Portions of International CorrectSpellT spelling correction system ©
1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American HeritageR Dictionary of the English Language, Third
Edition Copyright © 1992 Houghton Mifflin Company. Electronic version
licensed from Lernout & Hauspie Speech Products N.V. All rights
reserved.

Microsoft Visual Studio 2010 Team Explorer   01021-532-2002102-70223
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010   01021-532-2002102-70223
Microsoft Visual Web Developer 2010

ActiveReports 6   Active Reports 6 for Visual Studio

Atlassian Connector   1.3.4-20111011-1133
Provides integration of Atlassian products with Visual Studio
Crystal Reports Templates for Microsoft Visual Studio 2010   Crystal
Reports Templates for Microsoft Visual Studio 2010

JetBrains ReSharper 6.0   Full Edition build 6.0.2202.688 on
2011-06-30T04:14:16

JetBrains ReSharper 6.0 package for Microsoft Visual Studio. For more
information about ReSharper, visit
http://www.jetbrains.com/resharper/. Copyright © 2003-2011 JetBrains,
Inc.

Microsoft Team Foundation Server 2010 Power Tools   3.1.30831.0 Power
Tools that extend the Team Foundation Server integration with Visual
Studio.

Microsoft Visual Studio 2010 Premium - ENU Service Pack 1 (KB983509)
KB983509

This service pack is for Microsoft Visual Studio 2010 Premium - ENU.

If you later install a more recent service pack, this service pack
will be uninstalled automatically.

For more information, visit http://support.microsoft.com/kb/983509.

Microsoft Visual Studio 2010 SharePoint Developer Tools   10.0.40219
Microsoft Visual Studio 2010 SharePoint Developer Tools

Microsoft Visual Studio Process Editor   1.0
Process Editor for Microsoft Visual Studio Team Foundation Server
VisualSVN   2.0.2

Integration with Subversion version control. For more information
about VisualSVN, see the VisualSVN website at http://www.visualsvn.com

Copyright (c) 2005-2009 VisualSVN Ltd.

ReSharper Info:
JetBrains ReSharper 6.0 Full Edition
Build 6.0.2202.688 on 2011-06-30T04:14:16
Licensed to: ATCO-I-TEK
Plugins: none
Visual Studio 10.0.40219.1.
Copyright © 2003-2011 JetBrains s.r.o. All rights reserved.

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



0

Hello Roman
     What version of ReSharper are you using? Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

JetBrains ReSharper 6.0 C# Edition
Build 6.0.2202.688 on 2011-06-30T03:14:16

0

Please sign in to leave a comment.