Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```