Skip Navigation LinksHome Page > Forums > SpiraTest Forums > SpiraTest Issues & Questi... > C# - The SpiraTestConfigu...
SpiraTestConfiguration("https://fakeurl.spiraservice.net", "FakeUserAccount", "FakeUserPassword", TestDataVerification.ProjectId, TestDataVerification.ReleaseNumber, TestDataVerification.TestSetId)
SpiraTestConfiguration( Url = "https://HeyURLHERE.spiraservice.net", Login = "MyAutomationAccount", // Not actual username Password = "MyAutomationPassword", // Not actual password ProjectId = TestDataVerification.ProjectId, // public const int ProjectId TestSetId = TestDataVerification.TestSetId // public const int TestSetId // ^^ Error here: 'TestSetId' is not a valid named attribute argument because it is not a valid attribute parameter type )
Hi Daniel
I think the issue is that the expected parameters are camelCase not PascalCase, i.e. use testSetId = XXX instead of TestSetId = XXXX
SpiraTestConfiguration( url = "https://HeyURLHERE.spiraservice.net", login = "MyAutomationAccount", // Not actual username password = "MyAutomationPassword", // Not actual password projectId = TestDataVerification.ProjectId, // public const int ProjectId testSetId = TestDataVerification.TestSetId // public const int TestSetId )
Regards
Adam
We have checked and our Add-In does not support such parameterized tests.
Since NUnit 3.0 (in alpha) is getting rid of the entire plugin system we are looking at ways to replace our current add-in once NUnit 3.0 has been released, so no changes are planned to the current add-in at this time.
And if you have any questions, please email or call us at +1 (202) 558-6885