-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpytest.ini
More file actions
38 lines (36 loc) · 1.03 KB
/
pytest.ini
File metadata and controls
38 lines (36 loc) · 1.03 KB
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
[pytest]
testpaths =
tests/
addopts =
--capture=no
--strict-markers
--junitxml=output/junit/report.xml
--alluredir=output/allure-result
--color=no
markers =
P0: P0级别测试用例
P1: P1级别测试用例
P2: P2级别测试用例
smoke: 冒烟测试
regression: 回归测试
integration: 集成测试
performance: 性能测试
slow: 慢速测试
dev_only: 仅在开发环境运行
prod_safe: 生产环境安全测试
requires_external_service: 需要外部服务的测试
; core: 冒烟测试-主路径case
; full: 全量case
; test: 临时测试case
; testing_tag: 测试用的实例标签信息
; testing_app: 测试用使用的测试 app 信息
; testing_lock: 测试用例不支持并行时,使用的锁信息
;
log_level = DEBUG
log_format = %(asctime)s.%(msecs)03d | %(levelname)-8s | %(module)s:%(funcName)s:%(lineno)d - %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
;# 什么时候发送
;send_when = on_fail
;
;# 发送到哪里
;send_to = dingtalk