mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 07:11:39 +08:00
react-native-android-detox
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