1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-pushy/Example/testHotUpdate
2024-07-30 09:42:33 +08:00
..
__tests__ Update example 0.68 2022-06-01 16:43:43 +08:00
.bundle Update example 0.68 2022-06-01 16:43:43 +08:00
android update example 2024-07-30 09:42:33 +08:00
e2e remove blockupdate 2024-03-20 21:47:44 +08:00
ios update example 2024-07-25 22:56:44 +08:00
patches feat: CI测试 2023-04-02 12:51:43 +08:00
scripts feat: CI测试 2023-04-03 11:18:31 +08:00
src update example 2024-07-29 23:25:33 +08:00
.buckconfig feat: CI测试 2023-04-02 12:51:43 +08:00
.detoxrc.js feat: CI测试 2023-04-03 11:21:15 +08:00
.eslintrc.js feat: CI测试 2023-04-02 12:51:43 +08:00
.flowconfig feat: CI测试 2023-04-02 12:51:43 +08:00
.gitignore feat: CI测试 2023-04-02 12:51:43 +08:00
.nvmrc feat: CI测试 2023-04-02 12:51:43 +08:00
.prettierrc.js Update example 0.68 2022-06-01 16:43:43 +08:00
.ruby-version feat: CI测试 2023-04-02 12:51:43 +08:00
.watchmanconfig Update Example 2019-10-04 18:38:54 +08:00
app.json feat: CI测试 2023-04-02 12:51:43 +08:00
babel.config.js fix: new version 2024-01-21 14:41:06 +08:00
Gemfile feat: CI测试 2023-04-02 12:51:43 +08:00
Gemfile.lock feat: CI测试 2023-04-02 12:51:43 +08:00
index.js Update Example 2019-10-04 18:38:54 +08:00
metro.config.js fix example 2024-07-08 23:39:26 +08:00
package.json update example 2024-07-29 23:25:33 +08:00
README.md feat: CI测试 2023-04-02 12:51:43 +08:00
update.json update update.json 2024-02-05 22:09:53 +08:00
yarn.lock update example 2024-07-29 23:25:33 +08:00

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