February 05, 2013

How to make a basic test framework in C#

Unit testing can be an excellent approach to building applications. In C#, there is a fairly standard convention that you often see. You'll often see a test structure like this:

[TestClass]
          public class UnitTest1
          {
            [TestInitialize]
            public void Setup()
            {
            }
            [TestMethod]
            public void TestMethod1()
            {
            }
          }…
Continue reading