[MonoDevelop] Monodevelope Nunit project data driven test

thirukumaran kubendran t1279k at yahoo.co.in
Sun Mar 11 03:25:40 UTC 2012



Hi


Just started to explore Monodevelop. I created a nunit test project and added nunit version 2.6 ( Monodevelop uses 2.4) When i try to run this test I get the following error
"Method TestCase's signature is not correct: it must no have parameters"
Is there a way to run tests from Monodevelop which are data driven. 

[Test()]
[TestCaseSource(typeof(MyFactoryClass), "MyTestMethod_TestCaseDataList")]
public void TestCase (string apikey, string userid, string productid)
{
Console.WriteLine(apikey);
Console.WriteLine(userid);
Console.WriteLine(productid); 
}

Help would be greatly appreciated. 

Thanks
TK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120311/77f24f68/attachment.html>


More information about the Monodevelop-list mailing list