Reputation: 1595
I am trying to write a UI test for my Xamarin Forms project, taking reference from this Github sample, I tried to use Assert.DoesNotThrow
but am getting an error saying that Assert does not contain a definition for DoesNotThrow
.
NUnit Version: 3.11.0
Is there anything that I am missing?
Upvotes: 0
Views: 1466
Reputation: 76
Try using the 2.6.4 version of NUnit, as the version 3.x is not supported by the Xamarin.UITest. https://learn.microsoft.com/en-us/appcenter/test-cloud/uitest/
Upvotes: 1