bootstraponline / react_native_automation

React native automation using Espresso & EarlGrey

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debugging

  • Cmd + D - Open debug menu, enable debugging JS remotely
  • Cmd + Opt + J - Open chrome dev tools http://localhost:8081/debugger-ui

Getting started

brew update
brew install yarn
brew install node
brew install watchman
npm install -g react-native-cli
react-native init button
cd ios
gem install earlgrey
earlgrey install -t buttonTests # requires shared scheme
carthage update EarlGrey --platform ios

Install iOS deps

#!/bin/bash
set -euxo pipefail

cd button
yarn
cd ios
carthage update EarlGrey --platform ios

Running the apps

To run your app on iOS:
   react-native run-ios
   - or -
   Open ios/button.xcodeproj in Xcode
   Hit the Run button

To run your app on Android:
   Have an Android emulator running (quickest way to get started), or a device connected
   react-native run-android

About

React native automation using Espresso & EarlGrey

License:Apache License 2.0


Languages

Language:HTML 67.9%Language:Ruby 13.9%Language:Swift 8.2%Language:Java 3.4%Language:JavaScript 2.3%Language:Objective-C 2.1%Language:Python 1.5%Language:Shell 0.7%