testing-samples
testing-samples copied to clipboard
[Question] How to write tests that involves Bluetooth/Location/Wi-Fi Direct dependency?
How to write test that has hardware dependency or Android System service dependency?
I'm also interested in this topic. Usually we can. Stub the response.
Yeah, there are ways to mock or use the double instead of actual code.
However I couldn't any article that triggers events externally like new device found, pairing, paired events to be injected to device. Also the for the P2P connection