Project Description
About the open source testing library Approval Tests - pptx, sample demos and more


About Approval Tests - pptx and demos (sample code for VS2010 in C#. For more see http://www.ApprovalTests.com

using ApprovalTests;
using ApprovalTests.Reporters;

public class ApprovalTestsSample
{
    [TestMethod]
        //[UseReporter(typeof(ApprovalTests.Reporters.DiffReporter))]
        public void TestAddToApproval()
        {
            var c = new BaseAdder();
            var result = c.Add(5, 7);
            Approvals.Verify(result.ToString());

        }
}

Last edited Apr 16, 2012 at 7:39 PM by lynnlangit, version 5