(I originally posted this Q on http://stackoverflow.com/questions/30705557/backdoor-concept-in-appium-like-in-calabash-for-ui-testing.)
In Calabash you can implement a backdoor, i.e., a way to call a method in the app delegate during test case execution. This makes it possible to simulate non-UI/external events like a Bluetooth device to appear/disappear, etc. in simulator.
(I understand the backdoor concept is possible because Calabash-server is linked into the executable. Appium executes tests on the an untouched executable.)
Is a similar concept available in Appium? If not what are the alternatives then?
(I couldn’t find anything in the Appium documentation.)