dotnet-presentations / dotnet-maui-workshop

A full day workshop (.NET MAUI Workshop in a Box) on how to build apps with .NET MAUI for iOS, Android, macOS, and Windows
https://docs.microsoft.com/dotnet/maui
MIT License
1.88k stars 588 forks source link

Where can I find real MAUI Unit Test sample? #118

Closed AlexNek closed 1 year ago

AlexNek commented 1 year ago

I can find a lot of suggestions for using additional .net x.0 platform like: https://github.com/jfversluis/MauixUnitTestSample. But I have additional MAUI dll with platform specific implementation and this suggestion can not work, so I can create MAUI library as unit test and resharper could select platform dependent build but can not run it. What is Microsoft recommendation for creation MAUI Unit tests?

Here is nothing about project configuration https://learn.microsoft.com/en-us/dotnet/architecture/maui/unit-testing

jamesmontemagno commented 1 year ago

Have you looked at the sample here: https://github.com/dotnet-architecture/eshop-mobile-client ?