/e2e-test

Primary LanguageJavaScript

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.