NUnit.Framework 사용 방법 데모

3241 단어 framework
 1 using NUnit.Framework;
 2 
 3 namespace CheckExcel
 4 {
 5     [TestFixture]
 6     public class TestExcelHelper
 7     {
 8         /// <summary>
 9         ///    
10         /// </summary>
11         string fileName1 = @"D:\Test\a.xlsx";
12         string fileName2 = @"D:\Test\c.xlsx";
13 
14         /// <summary>
15         ///     
16         /// </summary>
17         [Test]
18         public void Test()
19         {
20             bool result = ExcelHelper.CheckExcel(fileName1, fileName2);
21             Assert.AreEqual(true, result);
22         }
23     }
24 }

좋은 웹페이지 즐겨찾기