Code
using System;
using System.Text;
using NUnit.Framework;
namespace NUnitTest
{
[TestFixture]
public class CaculatorTest
{
private Caculator cac;
private int a;
private int b;
///
/// 声明为TestFixtureSetUp的方法将在所有选中的TestCase调用之前调用,通常用来初始化数据库连接
///
[TestFixtureSetUp]
public void InitUtility()
{
Console.Write("Caculator Invoked!");
}
///
文章来源于领测软件测试网 https://www.ltesting.net/