remarkablemark / react-native-android-detox

📱 React Native Android Detox
3 stars 3 forks source link
android app detox e2e mobile react react-native test

react-native-android-detox

e2e-android

React Native Android Detox. The project has already been patched with the additional Android configuration.

Prerequisites

Follow the environment setup.

Install

Clone the repository:

git clone https://github.com/remarkablemark/react-native-android-detox.git
cd react-native-android-detox

Install the dependencies:

yarn

Build

Android (Debug)

Build the Android debug app:

yarn detox build --configuration android.emu.debug

Android (Release)

Build the Android release app:

yarn detox build --configuration android.emu.release

Test

Android (Debug)

Start the app:

yarn start

Run the test:

yarn detox test --configuration android.emu.debug

Android (Release)

Run the test:

yarn detox test --configuration android.emu.release