xunit / devices.xunit

xUnit.net Runners for Devices
Other
73 stars 36 forks source link

Runner without dependency on Xamarin.Forms #49

Closed tomwis closed 6 years ago

tomwis commented 7 years ago

I understand that it is easier to maintain runner based on Xamarin.Forms, however it would be useful to have a runner that is not dependent on that library - only Xamarin.Android or Xamarin.iOS.

I have 2 Xamarin.Android app (without Xamarin.Forms) with android support library in newest version (24.2.1). Xamarin.Forms depends on older version of that library (23.3.0) and because of that test project cannot be compiled. Sometimes you can work around that issue by not using support library in project referenced by test project, but I guess this won't be always possible. So it would be nice to have a runner without Xamarin.Forms, so we can use any version of android support library.

Bowman74 commented 7 years ago

Xamarin Forms 2.3.4 will add support for Android Support packages 23.3.0 and newer (i.e. they will no longer be locked to a specific version of the AppCompat libraries). When this version of Xamarin Forms reaches the stable channel this may alleviate this problem with the runners moving forward.

clairernovotny commented 7 years ago

I'll be waiting for Xamarin Forms 2.3.4 to release the 2.2 version of this runner just for that reason.

hlogmans commented 7 years ago

Forms 2.3.4 is stable. And an update is neccesary because the Forms 2.3.3 version will cause XamlCTask errors in newer Xamarin Studio versions... I hope you can update the package soon.

clairernovotny commented 7 years ago

Xunit for Devices 2.2 should be on NuGet momentarily and targets Forms 2.3.4.