react-native-esp-idf-provisioning
react-native-esp-idf-provisioning copied to clipboard
Unit tests
It's difficult to unit test this as practically all code needs a real device to test with.
Suggestions on methodology are welcome.
I think the best way forward here would be
- to record BLE events between phone and device and then somehow replay them in unit tests.
- to setup a self-hosted github runner connected to one android and one ios device with an esp32 next to it and then use detox (https://wix.github.io/Detox/) to run end-to-end testing of the example app.