0
剛開始探索Monodevelop。我創建了一個nunit測試項目並添加了nunit版本2.6(Monodevelop使用2.4)當我嘗試運行此測試時,出現以下錯誤 「方法TestCase的簽名不正確:它必須沒有參數」 有沒有辦法運行來自Monodevelop的數據驅動測試。Monodevelope Nunit項目數據驅動測試
[Test()]
[TestCaseSource(typeof(MyFactoryClass), "MyTestMethod_TestCaseDataList")]
public void TestCase (string apikey, string userid, string productid)
{
Console.WriteLine(apikey);
Console.WriteLine(userid);
Console.WriteLine(productid);
}
幫助將不勝感激。