Introducing detox

This commit is contained in:
Sofiya Tepikin
2019-07-21 15:58:12 +02:00
parent 888be9531d
commit 7e807dba7f
11 changed files with 680 additions and 35 deletions
+18
View File
@@ -54,6 +54,7 @@
"babel-eslint": "^10.0.1",
"basic-changelog": "gitlab:bloodyhealth/basic-changelog",
"chai": "^4.1.2",
"detox": "^13.1.1",
"dirty-chai": "^2.0.1",
"eslint": "^5.16.0",
"eslint-plugin-react": "^7.8.2",
@@ -88,5 +89,22 @@
"assets": [
"assets/fonts"
]
},
"detox": {
"configurations": {
"android.emu.debug": {
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
"type": "android.emulator",
"name": "Nexus_5X_API_28"
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
"type": "android.emulator",
"name": "Nexus_5X_API_26"
}
},
"test-runner": "mocha"
}
}