Microsoft VisualStudio Unit Testing method should be decorated with a [TestMethod]
attribute.
Example in C#:
[TestMethod]
public void TestAddMethod()
{
}
Practise makes perfect
[TestMethod]
attribute.[TestMethod]
public void TestAddMethod()
{
}
[TestClass]
attribute[TestClass]
public class UnitTestMath
{
[TestMethod]
public void TestAdd()
{
}
}
Example in C# :