Reputation: 462
I am testing methods from one class and 7 methods in Unit class are executing fine, but 2 only work on second try.
When I run them, compiler say that test execution is complete 9/9, but 2 of them aren't executed, I have blue sigh beside those tests, like one u get when u rebuild project and don't run any of them.
On second run they work fine.
What is problem?
Upvotes: 0
Views: 251
Reputation:
You should download the latest NUnit framework package. Go to Tools->NuGet Package Manager-> Manage NuGet Packages-> Browse-> Search for NUnit unit-testing framework for .net. That should fix the problem with the 2 passing test.
Upvotes: 2