-
Notifications
You must be signed in to change notification settings - Fork 34
/
.detoxrc.json
62 lines (62 loc) · 2.23 KB
/
.detoxrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"testRunner": "jest",
"runnerConfig": "test/e2e/config.json",
"skipLegacyWorkersInjection": true,
"apps": {
"ios.release": {
"type": "ios.app",
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/ice.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/ice.xcworkspace -scheme ice -UseNewBuildSystem=NO -configuration Release -destination 'platform=iOS Simulator,name=iPhone 13' -sdk iphonesimulator -derivedDataPath ios/build -quiet"
},
"ios.debug": {
"type": "ios.app",
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/ice.app",
"build": "xcodebuild -workspace ios/ice.xcworkspace -scheme ice -configuration Debug -destination 'platform=iOS Simulator,name=iPhone 13' -derivedDataPath ios/build"
},
"android.debug": {
"type": "android.apk",
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"testBinaryPath": "android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk",
"build": "cd android ; ./gradlew assembleDebug && ./gradlew assembleDebugAndroidTest -DtestBuildType=debug ; cd -"
},
"android.release": {
"type": "android.apk",
"binaryPath": "android/app/build/outputs/apk/releasestagingE2E/app-releasestagingE2E.apk",
"testBinaryPath": "android/app/build/outputs/apk/androidTest/releasestagingE2E/app-releasestagingE2E-androidTest.apk",
"build": "cd android ; ./gradlew assembleReleasestagingE2E && ./gradlew assembleAndroidTest -DtestBuildType=releasestagingE2E ; cd -"
}
},
"devices": {
"simulator": {
"type": "ios.simulator",
"device": {
"type": "iPhone 13"
}
},
"emulator": {
"type": "android.emulator",
"device": {
"avdName": "test"
}
}
},
"configurations": {
"ios.debug": {
"device": "simulator",
"app": "ios.debug"
},
"ios.release": {
"device": "simulator",
"app": "ios.release",
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/ice.app"
},
"android.debug": {
"device": "emulator",
"app": "android.debug"
},
"android.release": {
"device": "emulator",
"app": "android.release"
}
}
}