Appcenter: Run Xamarin.UITest for iOS locally on Windows via connected Mac's iOS simulator

Created on 18 Jun 2019  路  59Comments  路  Source: microsoft/appcenter

Describe the solution you'd like
Currently, for Visual Studio Windows users, we are not able to run Xamarin.UITest on an iOS Simulator via the connected Mac. It would be great to be able to do so, since we can already run the app on iOS Simulator from VS Windows, and even remote the simulator back to VS on Windows.

Describe alternatives you've considered
In this case, the only available alternative is to use VS for Mac, which is a non-trivial hassle if you're developing on VS Windows.

feature request test

Most helpful comment

OK I'll ask in another way. Is it somehow possible to see how my iPhone tests works (debug them) on Windows machine?

Sadly not that I am aware... I am awaiting for this feature since two years and I won't give up.

Btw there are other features to bring from VS4Mac to VS4Win:

  • reference Test Project in solution (currently not possible, you need to add reference to .apk/.ipa)
  • reintroduce Unit Test template projects (available in the past, removed from VS4Win)

All 59 comments

Thank you for your feedback, I'll have to investigate a little before we can proceed with this.

Thanks @Oddj0b - the obvious upside is that it would be great and a lot more convenient to be able to verify the tests actually work on iOS as intended first before submitting them to App Center.

Looking forward to your response.

Just checking in - any thoughts, at least initially? @Oddj0b please let me know when you get a chance, thanks!

@mzhukovs I like the idea, but it will be hard to achieve. If we can get more reactions it's more likely to be picked-up.

Hi Villars, I would also like to give my support to this proposal!

@Oddj0b well then it's times like these that I wish I had a blog/twitter account with a mass following of other like-minded geeks.

I'd also appreciate this feature. I'm creating a testing framework that will tie in the ability to test websites, databases, UWP, Android and iOS apps. The framework will run on a windows server and needs to be able to automate testing using a remote mac server. If the code needs to be executed on a mac, the entire framework will need to exist on a mac server. From someone who is lifelong Windows user, this reliance on a mac server would be expensive in terms of educating/ramping myself up and the actual cost of a mac server.

I do support this feature.

+1

+1

@Oddj0b things are heating up!

+1

+1

+1

+1

+1

hi all
I have this same problem
someone has an advice ?

Hi Cesar, please support us requesting the implementation of this feature

+1

+1 from me!
About to start UI testing out Android/iOS Xam-forms app. 100% Development on Windows. Setting all up to connect to TFVC (yes, we are moving to git, but not yet) is a mess on Mac. Any status or timeplan for this feature would be great!

@Oddj0b I hear soon that we'll be able to plug an apple device directly into our Windows machine for debugging, this feature request seems like it would align nicely with that. What are your thoughts on this having a chance at making it into the roadmap?

@mzhukovs That sounds very interesting, do you have a source on it? Because any chance that we can make it easier, I'll try and grab it.

What about the remote simulator? Debugging from VS on windows, getting a remote simulator on your Windows screen is working today. It isn't possible to use that method to run tests, at lest on a iOS simulator?

@Brosten Good question, I'll have to investigate that a little more. Do you have a good guide handy?

@Brosten thank you for the link, I'll include it in my investigations.

+1

Any updates on this?

+1

+1

+1

馃憤 +1

+1

+1

+1

+1

I, too, would like to add another +1.

+1 馃憤

It would be awsome +1

+1

@Oddj0b hi Villars, still no concrete plans for this? Saw that you actually removed your assignment above.

+1. Xamarin UITests are currently unusable for my team because of this issue.

+1000 I'm sure it won't get picked up since Xamarin is going to be phased out in the near future- but MAUI must support UI testing of iOS applications from our Windows workstations...

@davidortinau will running tests for iOS from a Windows machine be possible in MAUI as per current plans?

+1
Is there any progress on this? I only can run my tests on Android simulators now. I need to run them also on iOS emulator to find out what needs to be changed in tests so they run correctly also on iOS.

+1

Hi. Is there any plan for this. It is really blocking me with creating tests for iOS.
Thank you.

+1

Hey. Still no status on this? Can somebody please have a look on this?

+1

+1

Still no work on this? Is there at least some workaround or something to run my code on my Windows workstation on iPhone emulator?

Jumping on board this ticket, I too would love to see this work in windows machine 馃憤

This would be helpful.

It will be really great....馃憤.....+1

This would make my life so much easier

OK I'll ask in another way. Is it somehow possible to see how my iPhone tests works (debug them) on Windows machine?

OK I'll ask in another way. Is it somehow possible to see how my iPhone tests works (debug them) on Windows machine?

Sadly not that I am aware... I am awaiting for this feature since two years and I won't give up.

Btw there are other features to bring from VS4Mac to VS4Win:

  • reference Test Project in solution (currently not possible, you need to add reference to .apk/.ipa)
  • reintroduce Unit Test template projects (available in the past, removed from VS4Win)
Was this page helpful?
0 / 5 - 0 ratings

Related issues

master-lincoln picture master-lincoln  路  3Comments

Oddj0b picture Oddj0b  路  3Comments

comply365dev picture comply365dev  路  4Comments

DouglasMarq picture DouglasMarq  路  4Comments

mason-hz picture mason-hz  路  3Comments