NUnit in Visual Studio for C#: Tests not found bug

I wanted to use some syntax in N-Unit to compare equality of double[] arrays within a certain tolerance. 


So I installed N-Unit and tried it, but I kept getting a bug about the tests not being found. 

Turns out, you have to annotate your test methods with [Test] instead of [TestMethod] in C# in order for N-Unit to detect your tests. Stack Overflow was down, and I misplaced the link. but the preview text on Google was my lifesaver for this one lol. 

Comments

Popular posts from this blog

6 hours and only 6 Lagoon rides?

Reflecting on major life goals yet again

Hobble Creek Half: The slow passage of time marches us towards our inevitable death