Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ Detox Public
forked from wix/Detox

Gray box end-to-end testing and automation framework for mobile apps

Notifications You must be signed in to change notification settings

kimak/Detox

 
 

Repository files navigation

detox

React Native Demo Project

Requirements

  • Make sure you have Xcode installed (tested with Xcode 8.1-8.2).
  • make sure you have node installed (brew install node, node 8.3.0 and up is required for native async-await support, otherwise you'll have to babel the tests).
  • Make sure you have react-native dependencies installed:
    • react-native-cli is installed (npm install -g react-native-cli)
    • watchman is installed (brew install watchman)

Step 1: Npm install

  • Make sure you're in folder examples/demo-react-native.
  • Run npm install.

To test Release build of your app

Step 2: Build

  • Build the demo project
detox build --configuration ios.sim.release

Step 3: Test

  • Run tests on the demo project
detox test --configuration ios.sim.release

This action will open a new simulator and run the tests on it.

To test Debug build of your app

Step 2: Build

  • Build the demo project
detox build --configuration ios.sim.debug

Step 3: Test

  • start react-native packager
npm run start
  • Run tests on the demo project
detox test --configuration ios.sim.debug

This action will open a new simulator and run the tests on it.

About

Gray box end-to-end testing and automation framework for mobile apps

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 41.2%
  • Objective-C 32.5%
  • Java 14.3%
  • Python 12.0%