Giter Club home page Giter Club logo

detox_and_appium's Introduction

native-demo-app-master_RN_60 contains example RN 60 app (Github) with Appium framework.

  • run 'yarn install' to install the dependencies
  • install Appium if you dont have it yet (npm install -g appium)

Before running tests:

  • run matching Android virtual device from Android Studio AVD manager

  • in first terminal run 'react-native start'

  • in second terminal type react-native run-ios or run-android

  • in second terminal start Appium with 'appium'

Running tests:

  • in third terminal run test with npm run android.app or ios.app

  • When you changed code other than the files with the tests you neeed to run react-native run-ios or react-native run-android again.

  • The tests are in the folder /tests/specs

  • Note: the example app often uses this line as an identifier for UI-elements (e.g.): <Input {...testProperties('nameForUIelement')}/>. You can also instead define the testID and accessibilityLabel in the UI element like e.g. this: <Input testID={'nameForUIelement'} accessibilityLabel={'nameForUIelement'}/>


WdioDemoAPP contains example RN 60 app (Github) with Detox testing framework

  • install dependencies with "yarn install"
  • if you dont have Detox yet install it with "npm install -g detox-cli"

Before running tests:

  • run matching Android virtual device from Android Studio AVD manager

  • run 'react-native start'

  • type react-native run-ios or run-android or "detox build -c android.emu.debug" for Android or (...) ios.sim.debug for iOS

Running tests:

  • in second terminal run 'detox test -c android.emu.debug' oder -c ios.sim.debug

  • When you changed code other than the files with the tests you neeed to run react-native run-ios or react-native run-android again.

  • The tests are in the folder /e2e

detox_and_appium's People

Contributors

lumary2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.