-
Notifications
You must be signed in to change notification settings - Fork 7
/
runner-ex6.yml
40 lines (36 loc) · 1.23 KB
/
runner-ex6.yml
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
# Example 6: Parallel execution by platform version
# Run two tests on separate specific devices in my pool, this can be US/EU.
# Use `deviceNameQuery` to find any free Android device with Android 9 or 10
# and run the test on it.
apiVersion: v1alpha
kind: espresso
sauce:
# This can be `eu-central-1` or `us-west-1`
region: eu-central-1
# Controls how many suites are executed at the same time (sauce test env only).
concurrency: 10
espresso:
app: ./apps/my-demo-app-android.apk
testApp: ./apps/my-demo-app-android-tests.apk
suites:
- name: "Example 6: Parallel execution by platform version - succesfulLoginTest"
testOptions:
class:
- com.saucelabs.mydemoapp.android.view.activities.LoginTest#succesfulLoginTest
devices:
- name: "Samsung.*"
platformVersion: 10
- name: "Example 6: Parallel execution by platform version - noUsernameLoginTest"
testOptions:
class:
- com.saucelabs.mydemoapp.android.view.activities.LoginTest#noUsernameLoginTest
devices:
- name: "Samsung.*"
platformVersion: 9
# Controls what artifacts to fetch when the suite on Sauce Cloud has finished.
artifacts:
download:
when: always
match:
- junit.xml
directory: ./reports/