Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Device runner for macOS? #75

Open
1Cor125 opened this issue Sep 11, 2018 · 6 comments
Open

Device runner for macOS? #75

1Cor125 opened this issue Sep 11, 2018 · 6 comments

Comments

@1Cor125
Copy link

1Cor125 commented Sep 11, 2018

I need a device runner for macOS and I am already using xunit device runners. Since Xamarin Forms 3, macOS is possible. Is there interest in supporting a macOS device runner? I would be willing to contribute a PR. Any insights would be appreciated.

@clairernovotny
Copy link
Member

Certainly happy to take a PR that adds mac support. It'll need a mac target in the main runner, but also a test app. Finally, it'll need some kind of project template to get people started and I'm not sure what VSfM uses for that?

@1Cor125
Copy link
Author

1Cor125 commented Sep 13, 2018

Ok. Pulled the repo down last night and started perusing. I look forward to chipping away at this.

@velocitysystems
Copy link

@onovotny I am currently working to take this on, just looking at the project structure.
Do you have any preferences/recommendations on how to best integrate the Xamarin.Mac project?

@velocitysystems
Copy link

velocitysystems commented Dec 25, 2018

@onovotny @1Cor125 I have a very early port of the device runner working for macOS.
https://github.com/velocitysystems/devices.xunit/tree/macos_device_runner

Please see screenshots below. Needs some more work and UI tweaks, but its working!

screenshot 2018-12-25 at 12 04 10 pm

screenshot 2018-12-25 at 12 04 29 pm

screenshot 2018-12-25 at 12 04 33 pm

@clairernovotny
Copy link
Member

Looks great!

Can it build (but not run) from a Windows VM like iOS does? I would open a PR with the updates and we can take it from there.

@velocitysystems
Copy link

Thanks @onovotny. I've just made a couple of further tweaks to the branch and will open a PR.
Unfortunately, I believe the MacOS project can't build on a Windows VM only using VS for Mac.

To this end, I have separated it into a seperate project/SLN which can be opened independently from VS for Mac but references all the existing files in xunit.runner.devices.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants