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
+5 -1
View File
@@ -105,8 +105,10 @@ android {
versionCode 3
versionName "0.1905.29-beta"
ndk {
abiFilters "armeabi-v7a"
abiFilters "armeabi-v7a", "x86"
}
testBuildType System.getProperty('testBuildType', 'debug') // This will later be used to control the test apk build type
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
signingConfigs {
release {
@@ -160,6 +162,8 @@ dependencies {
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
compile "com.facebook.react:react-native:+" // From node_modules
androidTestImplementation('com.wix:detox:+') { transitive = true }
androidTestImplementation 'junit:junit:4.12'
}
// Run this once to be able to run the application with BUCK