Reputation: 63
My new tests in NUnit appears in Tests List in a blue font. And I can´t run it.
This is que list.
And this is my class. I can´t find anything wrong or even diferent from other test classes.
Please! Do someone knows what is happening?
Upvotes: 4
Views: 910
Reputation: 15157
Last I used NUnit your test classes needed to be public. Your EmailBaseGerar
doesn't specify that it is public, and is getting defaulted to internal.
Upvotes: 3
Reputation: 2670
Do you need to decorate the testfixture with a category that is included in your nunit console? Also, no harm to make the test fixture class public.
Upvotes: 1
Reputation: 43077
Your test fixture class is not public
. If you don't specify public class YouClass
, YourClass will be internal
, and not runnable by NUnit.
Upvotes: 9