DeviceRunners icon indicating copy to clipboard operation
DeviceRunners copied to clipboard

Use this or the one in the MAUI repository

Open ymebrugts opened this issue 1 year ago • 2 comments

The dotnet MAUI repo has device tests embedded as well: https://github.com/dotnet/maui/tree/main/src/TestUtils/src Should I use this project as a basis or the one in the MAUI repo? They don't seem to be using the same setup.

This project is referenced by the official documentation but hasn't been updated for 6 months.

The MAUI repo device runner tests have been updated recently but haven't been mentioned in official documentation

Kind regards, Yme

ymebrugts avatar Feb 19 '25 14:02 ymebrugts

I've had success setting up and using this one. But I would be interested to know what the plan for this is; it feels like this should be owned by MS for .NET MAUI testing 😃

kamranayub avatar Mar 26 '25 03:03 kamranayub

Yeah agreed. It's a very nice setup. As a reference for anyone else: I managed to get this working for on platform testing (instrumented testing), for UI testing we use Appium with Nunit. This setup works in an Azure Pipeline as well but it's not stable enough on MacOS Microsoft hosted agents. You need to self host afaik, at least until Microsoft delivers MacOS Agents with Apple silicon.

ymebrugts avatar Mar 26 '25 12:03 ymebrugts