-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Xamarin.UITest #375
Comments
@PureWeen can you please show me where is the code for the Cake tasks in |
After taking a quick look, these are the possible steps that we need to take to be able to enable the Xamarin.Forms team to move foward: iOS
Android
There have been ideas of integration the execution of the nunit runner within xharness vias the NUnit library, there are some thoughts about it:
The problem with this approach is that ATM we do not believe that calabash + XamarinUI tests will be the solution, and others are in the radar, like apium. If that is the case, we should not invest any effort on integrating the runner within xharness because we will have to move to the apium runner and that will be another process. Adding a solution that just calls a process once the app is running might be the best approach knowing the possible future move. |
https://github.com/cake-contrib/Cake.AppleSimulator It looks like most of the commands are built here And then they are fed to xcrun Pinging @Redth in case he might have additional nuggets of info The Cake.AppleSimulator bits are purely for spinning up simulators and deploying the app and have nothing to do directly with running the tests. If xHarness can already do all of that then we don't really need to use the Cake.AppleSimulator tools. |
Archive.zip
The attached project is just a basic sample created from the VS MAC Xamarin.Forms Templates. I've added a cake script so you can run the tests from the command line
Command line
Make sure to startup a single device
Visual Studio
You can also open up the SLN file and run the test via the test runner in VS but just make sure to deploy the app first.
The attached zip currently only works on Android because Xamarin.UITest is broken for Xcode 12.
Once they fix Xcode 12 support I'll update the zip file
microsoft/appcenter#2050
The text was updated successfully, but these errors were encountered: