Method Signature is not correct [modified]
-
Hi friends, I have a problem with NUnit while checking values with db. I have created a sql plugin and added it to appropriate addin folder and i can view it under tools->addins->Registered Addins. whenever i run the a test with the new sql attribute the test is passed for eg: [SqlServerDataSource(ConnectionString = "Data Source=DTP00B249\\SQLEXPRESS;Intial Catalouge=sample;Integrated Security=True", Query = "SELECT pword FROM login where uname='paul'")] public void TestInput() { Assert.IsTrue(true); } But whenever i pass a value in my method like public void TestInput(string uname)it throws the Test Not Run Method saying Method Method name signature is not correct:it must not have parameters. Please explain how to resolve the error. thanks in Advance Praveen
modified on Tuesday, July 29, 2008 9:00 AM