-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
87 lines (76 loc) · 1.99 KB
/
tox.ini
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
skipsdist = True
envlist=py27
recreate=True
[testenv]
passenv=SAUCE_USER_NAME SAUCE_API_KEY SAUCE_ONDEMAND_BROWSERS
deps=
-rrequirements.txt
commands=
py.test {posargs}
[testenv:full]
commands=
py.test tests/ \
--alluredir ./allure-report \
--junitxml=./junit-report/report.xml \
--verbose
[testenv:person]
commands=
py.test tests/person_suite/ \
--alluredir ./allure-report \
--junitxml=./junit-report/report.xml \
--verbose \
--jenkins_display
[testenv:enrollment]
commands=
py.test tests/enrollment_suite/ \
--alluredir ./allure-report \
--junitxml=./junit-report/report.xml \
--verbose \
--jenkins_display
[testenv:smoke]
commands=
py.test tests/test_authorization.py \
--alluredir ./allure-report \
--junitxml=./junit-report/report.xml \
--verbose \
--jenkins_display
[testenv:sauce]
commands=
py.test tests/saucelabs/ \
--alluredir ./allure-report \
--junitxml=./junit-report/report.xml \
--jenkins_display \
--verbose
[testenv:phantom]
commands=
py.test tests/enrollment_suite/test_enrollments_dates.py \
--alluredir ./allure-report \
--junitxml=./junit-report/report.xml \
--verbose \
--browser 'phantom' \
--jenkins_display
[testenv:phantomWin]
commands=
py.test tests/enrollment_suite/test_enrollments_dates.py \
--alluredir ./allure-report \
--junitxml=./junit-report/report.xml \
--verbose \
--browser 'phantomWin'
[testenv:firefox]
commands=
py.test tests/enrollment_suite/test_enrollments_dates.py \
--alluredir ./allure-report \
--junitxml=./junit-report/report.xml \
--verbose \
--jenkins_display
[testenv:firefoxWin]
commands=
py.test tests/enrollment_suite/test_enrollments_dates.py \
--alluredir ./allure-report \
--junitxml=./junit-report/report.xml \
--verbose