Xamarin.Forms for Mac Unit Tests

Working on a Xamarin Forms app targeting mac and I am trying to get Unit Tests working.

My project structure:
-Xamarin Mac App (Xamarin.Mac Full)
-Xamarin Mac Library (Xamarin.mac Full)
-Xamarin Shared App

These 3 work perfectly with NuGet references etc.

Creating a Nunit Library project I cannot reference the Xamarin Mac Library as it says it is incompatible with Xamarin Mac, 2.0

So then I tried creating a new Xamarin Mac app, was able to reference my Mac Library, but am getting an error at runtime: NUnit.Engine.NUnitEngineException: The NUnit 3.0 driver does not support the portable version of NUnit.

Anyone else hit this issue yet?

Answers

Sign In or Register to comment.