1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-pushy/Example/testHotUpdate/README.md
2023-04-02 12:51:43 +08:00

1.2 KiB

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