-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpytest.ini
42 lines (30 loc) · 842 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
38
39
40
41
42
[pytest]
# Custom Marker
markers =
p0
p1
p2
p3
ui
api
bvt
function
security
stress
monitor
# Disable Warnings
# addopts = -p no:warnings --alluredir=allure-result --clean-alluredir --strict
addopts = -p no:warnings --alluredir=allure-result --clean-alluredir --strict --headed -slowmo=2000
# Log Setting => DEBUG < INFO < WARNING < ERROR < CRITICAL
log_cli = 1
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 = pytest.log
log_file_level = WARNING
log_file_format = %(asctime)s [%(levelname)s] %(message)s
log_file_date_format = %Y-%m-%d %H:%M:%S
# Ignore Warning
filterwarnings = ignore::PendingDeprecationWarning
# Chinese Support
disable_test_id_escaping_and_forfeit_all_rights_to_community_support = True