Cannt run with myClassCommand in Resharper 6 Release

Topics: ReSharper test runner
Jul 27, 2011 at 10:31 AM

Hi,

For some reason create a ClassCommandAttribute inherits from RunWithAttribute.

All class runs correct in testdriven.net which sign my classcommand but resharper cannt find them.

You can found the same problem in the  Sample project of xUnit named "PrioritizedFixtureExample".

Hope you can fix the bug, thank you very much!

Coordinator
Jul 27, 2011 at 1:14 PM

RunWith isn't supported, unfortunately. Mainly because it's very hard to know what to do when analysing a file. I could create a RunWith based attribute that ignored all [Fact] attributes. Or that ran [Test] attributes, or all methods beginning with "Test". So, it's impossible to find the test methods themselves. And without the test methods, there will be nothing in the tree to say what has passed or failed. So, for now, RunWith is not supported. Sorry.

Aug 8, 2011 at 10:15 AM

Thank you all the same, hope will support in the feature.