NUnit does not run my new tests

My new tests in NUnit appear in blue in the list of tests. And I can not start it.

This is a list of que. enter image description here

And this is my class. I can not find something wrong or even different from other test classes.

enter image description here

You are welcome! Does anyone know what is going on?

+4
source share
3 answers

Do you need to decorate testfixture with a category that is included in the nunit console? In addition, there is no harm in making the test test class public.

+1
source

The class of your test class is not public . If you do not specify the public class YouClass , YourClass will be internal and NUnit will not be executed.

+9
source

I have been using NUnit recently so that your test classes are publicly available. Your EmailBaseGerar does not indicate that it is publicly available, and receives the default for internal .

+3
source

Source: https://habr.com/ru/post/1398900/


All Articles