Skip to content

EmaSuriano/e2e-react-native-detox

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
e2e
 
 
ios
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published