jh-bate / LoopUITests

Loop end-to-end automated tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoopUITests

Loop end-to-end automated tests using detox

Build

  • detox build -c ios.sim.debug
  • detox build -c ios.sim.release

Test

All tests

detox test -c ios.sim.debug

Smoke test

detox test e2e/smoke -c ios.sim.debug

Regression test

detox test e2e/regression -c ios.sim.debug

Debugging

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

Updates

detox clean-framework-cache && detox build-framework-cache

Requirements

A recent version of node must be installed to run these tests.

Apple Simulator Utils

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.

About

Loop end-to-end automated tests

License:MIT License


Languages

Language:JavaScript 96.5%Language:Shell 3.5%