Test Templet
using System;
using NUnit.Framework;
namespace apptest
{
/// <summary>
/// TestTemplet 的摘要说明。
/// </summary>
[TestFixture]
public class TestTemplet
{
public TestTemplet()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
在每个测试方法开始/结束时调用
[Test]
public void Test()
{
}
类开始/结束时调用
[Test,Ignore("Not ready to test this yet")]
public void TestSomething()
{
}
[Test,ExpectedException(typeof(ArgumentException))]
public void TestForException()
{
}


}
}


浙公网安备 33010602011771号