Loop end-to-end automated tests using detox
detox build -c ios.sim.debug
detox build -c ios.sim.release
All tests
detox test -c ios.sim.debug
detox test e2e/smoke -c ios.sim.debug
detox test e2e/regression -c ios.sim.debug
detox test e2e/smoke -c ios.sim.debug 2>&1 | tee ./artifacts/smoketest_output.txt
- then you can search in
./artifacts/test_output.txt
file for test output including errors or mismatches
detox clean-framework-cache && detox build-framework-cache
A recent version of node
must be installed to run these tests.
Do not install applesimutils
from Homebrew. Use the custom, pre-built binary found at bin/applesimutils
. This binary includes additional functionality to automate allowing or disallowing Critical Alert notifications. This binary was built using Xcode 11.3 from the Tidepool fork found at https://github.com/tidepool-org/AppleSimulatorUtils using the add-critical-alerts-notification-permission
branch.