Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Device.OnPlatform in Unit Tests

$
0
0

Hey I want to run unit tests on code that contains Device.OnPlatform(ios,android,winphone);. Is there a possibility to say that the current test case should emulate a special OS like iOS or Android. Is there maybe a property that you can override or a build parameter.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>