Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/remarkablemark/react-native-android-detox
📱 React Native Android Detox
https://github.com/remarkablemark/react-native-android-detox
android app detox e2e mobile react react-native test
Last synced: 2 months ago
JSON representation
📱 React Native Android Detox
- Host: GitHub
- URL: https://github.com/remarkablemark/react-native-android-detox
- Owner: remarkablemark
- Created: 2023-03-02T01:46:20.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-11T03:07:42.000Z (3 months ago)
- Last Synced: 2024-10-11T15:13:02.079Z (3 months ago)
- Topics: android, app, detox, e2e, mobile, react, react-native, test
- Language: Java
- Homepage:
- Size: 2 MB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-native-android-detox
[![e2e-android](https://github.com/remarkablemark/react-native-android-detox/actions/workflows/e2e-android.yml/badge.svg)](https://github.com/remarkablemark/react-native-android-detox/actions/workflows/e2e-android.yml)
React Native Android Detox. The project has already been patched with the [additional Android configuration](https://wix.github.io/Detox/docs/introduction/project-setup/).
## Prerequisites
Follow the [environment setup](https://wix.github.io/Detox/docs/introduction/getting-started).
## Install
Clone the repository:
```sh
git clone https://github.com/remarkablemark/react-native-android-detox.git
cd react-native-android-detox
```Install the dependencies:
```sh
yarn
```## Build
### Android (Debug)
Build the Android debug app:
```sh
yarn detox build --configuration android.emu.debug
```### Android (Release)
Build the Android release app:
```sh
yarn detox build --configuration android.emu.release
```## Test
### Android (Debug)
Start the app:
```sh
yarn start
```Run the test:
```sh
yarn detox test --configuration android.emu.debug
```### Android (Release)
Run the test:
```sh
yarn detox test --configuration android.emu.release
```