Relative Content

Tag Archive for unit-testingmaui

Unit testing with .NET MAUI

I have a single-project MAUI app targeting ‘pure’ .net, .net-android and .net-ios. Furthermore, I have a Unit-test project, that targets ‘pure’ .net. The only reason for targeting .net in the single-project MAUI app, is to be able to run the unit tests against the project. The unit-test project is testing ViewModels and Services only, no UI.

MAUI shared project unit testing

I have a single-project MAUI app targeting ‘pure’ .net, .net-android and .net-ios. Furthermore, I have a Unit-test project, that targets ‘pure’ .net. The only reason for targeting .net in the single-project MAUI app, is to be able to run the unit tests against the project. The unit-test project is testing ViewModels and Services only, no UI.