NUnit test not recognized by R#
My NUnit test is not recognized by R#. I can run it in Nunut GUI but R# gives "not tests found in file" message.
What needs to be done for R# to recognize the test? I am using R# 4.1 in VS 2008 SP1.
Please sign in to leave a comment.
I ran into the same problem and (after much hair-pulling) discovered the cause through a message from the NUnit GUI - that my class marked as a TestFixture was not public. In my opinion, Resharper should show a warning when it detects a non-public TestFixture.
Hello abdu,
Can you create small repro for us? It's quite hard to understand the reason
from your message.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
IR> My NUnit test is not recognized by R#. I can run it in Nunut GUI but
IR> R# gives "not tests found in file" message.
IR>
IR> What needs to be done for R# to recognize the test? I am using R#
IR> 4.1 in VS 2008 SP1.
IR>
Hello Jeff,
It should tell. I'll check.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
IR> I ran into the same problem and (after much hair-pulling) discovered
IR> the cause through a message from the NUnit GUI - that my class
IR> marked as a TestFixture was not public. In my opinion, Resharper
IR> should show a warning when it detects a non-public TestFixture.
IR>
IR> ---
IR> Original message URL:
IR> http://www.jetbrains.net/devnet/message/5231826#5231826