How to declare Microsoft VisualStudio Unit Testing method

Microsoft VisualStudio Unit Testing method should be decorated with a [TestMethod] attribute.

Example in C#:
[TestMethod]
public void TestAddMethod()
{
 
}

Leave a Reply