forked from longtengtest/longteng17
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
37 lines (28 loc) · 997 Bytes
/
pytest.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
[pytest]
miniversion = 5.0.0
addopts = -v -rxX --strict --html=report_{}.html --self-contained-html --driver=chrome --variables=data/caps.json test_cases/api_test
base_url = http://115.28.108.130:8080
testpaths = test_cases/
markers =
smoke: smoke test case
apitest: api test case
webtest: web test case
apptest: app test case
p0: p0 level test case
p1: p1 level test case
p2: p2 level test case
negative: abnormal test case
email_subject = Test Report
email_receivers = [email protected],[email protected]
email_body = Hi,all\n, Please check the attachment for the Test Report.
log_cli = false
log_cli_level = info
log_cli_format = %(asctime)s %(levelname)s %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
log_file = {}.log
log_file_level = debug
log_file_format = %(asctime)s %(levelname)s %(message)s
log_file_date_format = %Y-%m-%d %H:%M:%S
timeout = 10
timeout_func_only = true
sensitive_url = example\.com