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

The Evenstar

It's the 4th of July...

Song: "Listen to the Rain" by Evanescence