Back to Devexpress

Add Unit Tests to a .NET MAUI Application

maui-404781-unit-testing.md

latest542 B
Original Source

Add Unit Tests to a .NET MAUI Application

  • Jun 04, 2024

You can create unit test for .NET MAUI applications that contain DevExpress .NET MAUI Controls in any of the following ways:

  • Move ViewModels, Services, and other modules into a separate assembly and then test this assembly.
  • Add the net8.0 to target versions of your project and then test this assembly. To do this, perform the following steps:

View Example: Create Unit Tests for DevExpress .NET MAUI Applications