How to declare Microsoft VisualStudio Unit Testing class

Microsoft VisualStudio Unit Testing class should be declared with a [TestClass] attribute

    Example in C# :
     [TestClass]
    public class UnitTestMath
    {
    [TestMethod]
    public void TestAdd()
    {
    }
    }

    Leave a Reply