How do I unit test .Droid project classes referencing MonoAndroid assemblies?

ReedReed Member ✭✭

I want to unit test some classes which are in my .Droid project. These classes have reference to MonoAndroid10 assemblies. I've created a project using Visual Studio's 2017 NUnit Test Project (Android) template. Added a reference to .Droid project inside the newly created UnitTests.Droid, so I could test the classes, but I ran into AndroidManifest compile time errors regarding MainTheme and etc.

How can I test these classes?

I found some documentation on this for iOS:
The documentation didn't help much, because the cases are too simple and doesn't involve referencing production code from platform's project.

Sign In or Register to comment.