Search code examples
xamarintestcasesource

Xamarin doesn't recognise TestCaseSource attribute


Xamarin doesn't recognise TestCaseSource, it says :

The name TestCaseSource doesn't exist in the current context

the way I use it :

[Test, TestCaseSource("divider")]

I cannot compile because of this.


Solution

  • I didn't had the latest version of nunit.framework.dll. I downloaded it through NuGet.