MosesEsan / e2e-react-native-detox

Demo of react-native project using Detox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

e2e-react-native-detox

Project bootstrap with react-native init and configured with Detox to provide End-to-End testing

This project has been used as a demo for the article of: End-to-End testing in React Native with Detox

Setup project

~ git clone https://github.com/EmaSuriano/e2e-react-native-detox.git
~ cd e2e-react-native-detox
~ yarn

Running Application

iOS

~ cd ios; pod install; cd --;
~ react-native run-ios

Android

~ react-native run-android

Running Detox Tests

Detox is a End-to-End framework focused in mobile applications, in this case it's being used to run tests for a React Native application.

In order to run the tests, first you need to compile the application:

~ yarn e2e:ci

Detox running

License

MIT.

About

Demo of react-native project using Detox


Languages

Language:JavaScript 44.0%Language:Objective-C 26.6%Language:Ruby 14.3%Language:Java 11.2%Language:Python 3.9%