
2.Ignore與Explicity:Ignore屬性表示在NUnit中Run Test的時候忽略標記為Ignore的方法;標記為Explicity的測試方法,當前僅當在被單獨選中時才Run。


Code
using System;
using System.Text;
using NUnit.Framework;
namespace NUnitTest
{
[TestFixture]
public class CaculatorTest
{
private Caculator cac;
private int a;
private int b;
延伸閱讀
文章來源于領測軟件測試網 http://www.kjueaiud.com/