-
Notifications
You must be signed in to change notification settings - Fork 7
/
runner-ex2.yml
34 lines (30 loc) · 1.03 KB
/
runner-ex2.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
# Example 2: Minimal configuration for 2 tests
# Run two tests on any available *single* device in my pool, this can be US/EU
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 2: Min config for two tests - succesfulLoginTest and noUsernameLoginTest"
testOptions:
class:
- com.saucelabs.mydemoapp.android.view.activities.LoginTest#succesfulLoginTest
- com.saucelabs.mydemoapp.android.view.activities.LoginTest#noUsernameLoginTest
devices:
- name: "Samsung.*"
options:
# Possible values [ANY,PHONE,TABLET]
deviceType: PHONE
# Controls what artifacts to fetch when the suite on Sauce Cloud has finished.
artifacts:
download:
when: always
match:
- junit.xml
directory: ./reports/