Seeking Alternative to Xamarin.Forms.Mocks for MAUI

Mahesh Amin 0 Reputation points
2023-10-23T07:16:47.61+00:00

I'm currently working on a project using MAUI and need a mocking framework similar to Xamarin.Forms.Mocks for Xamarin.Forms. However, I'm unsure if there's an equivalent library specifically designed for MAUI. Could anyone recommend an alternative or provide guidance on how to handle mocking in MAUI projects? Any suggestions would be greatly appreciated!

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,295 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,897 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
    2023-10-24T06:47:11.64+00:00

    Hello,

    Please check thisunit-testing documment.

    If you want to do a test-driven development and how to implement it, see Walkthrough: Test-driven development using Test Explorer.

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments