forked from ElSnoMan/pyleniumio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hyperexecute.yml
30 lines (25 loc) · 862 Bytes
/
hyperexecute.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
---
version: 0.1
globalTimeout: 90
testSuiteTimeout: 90
testSuiteStep: 90
concurrency: 5
runson: linux
autosplit: true
pre:
- pip3 install poetry
- poetry install
post:
- cat hyperexecute.yml
testDiscovery:
type: raw
mode: dynamic
# Collect a list of test function names within tests/ui
command: grep -nri "def test" tests/ui | sed -e "s/.*def\\(.*\\)(.*/\\1/"
# Collect a list of test files within tests/ui
# command: grep -nri "def test" tests/ui | sed -e "s/:.*//" | sort -u
env:
LT_BUILD_NAME: ${LT_BUILD_NAME}
LT_TESTRUN_NAME: ${LT_TESTRUN_NAME}
# testRunnerCommand: poetry run pytest -s --verbose $test --remote_url https://${LT_USERNAME}:${LT_ACCESS_KEY}@hub.lambdatest.com/wd/hub
testRunnerCommand: poetry run pytest tests/ui -s --verbose -k $test --remote_url https://${LT_USERNAME}:${LT_ACCESS_KEY}@hub.lambdatest.com/wd/hub