NUnit tests are not being run.
Hi all,
I have created a number of tests using NUnit but the icons that should appear in the left (generated by resharper) do not appear. I think the problem is lower level than that however as when I select run all tests from the menu it says no tests are available.
Any ideas?
Cheers,
Ed
Attachment(s):
testsFailed.JPG
Please sign in to leave a comment.
Hello Edward,
There could be lots of reasons. For example, tests should public methods
in public class. Did you forget public keyword on class?
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
EB> Hi all,
EB>
EB> I have created a number of tests using NUnit but the icons that
EB> should appear in the left (generated by resharper) do not appear. I
EB> think the problem is lower level than that however as when I select
EB> run all tests from the menu it says no tests are available.
EB>
EB> Any ideas?
EB>
EB> Cheers,
EB>
EB> Ed
EB>
EB> ---
EB> Original message URL:
EB> http://www.jetbrains.net/devnet/message/5233275#5233275
It won't work on a static class.
Hi,
I can't believe it was that simple
Thnk you so much for your help!
Cheers,
Ed
Hi,
Great info thanks, no doubt I would run into that one shortly too .
Cheers,
Ed