af44c23f21
- 移除旧的测试套件和UAT测试文件 - 更新密码编码器配置使用BCrypt strength=12 - 添加用户角色关联表和相关服务 - 优化前端日期显示格式 - 清理无用资源和配置文件 - 增强测试数据管理和清理功能
49 lines
1.3 KiB
INI
49 lines
1.3 KiB
INI
[pytest]
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
pythonpath = .
|
|
addopts =
|
|
-v
|
|
--strict-markers
|
|
--tb=short
|
|
--cov=.
|
|
--cov-report=html
|
|
--cov-report=term-missing
|
|
--alluredir=allure-results
|
|
markers =
|
|
auth: 认证相关测试
|
|
user: 用户管理测试
|
|
role: 角色管理测试
|
|
permission: 权限管理测试
|
|
menu: 菜单管理测试
|
|
websocket: WebSocket实时通信测试
|
|
e2e: 端到端业务流程测试
|
|
example: 示例测试
|
|
performance: 性能测试
|
|
exception: 异常场景测试
|
|
dictionary: 字典管理测试
|
|
dict: 字典管理测试
|
|
config: 系统配置测试
|
|
audit: 审计日志测试
|
|
notice: 通知公告测试
|
|
file: 文件管理测试
|
|
smoke: 冒烟测试
|
|
regression: 回归测试
|
|
slow: 慢速测试
|
|
playwright: Playwright浏览器自动化测试
|
|
distributed: 分布式事务测试
|
|
recovery: 数据恢复测试
|
|
migration: 系统迁移测试
|
|
disaster: 灾难恢复测试
|
|
network: 网络恢复测试
|
|
database: 数据库故障测试
|
|
degradation: 服务降级测试
|
|
timeout: 超时测试
|
|
concurrency: 并发测试
|
|
stability: 稳定性测试
|
|
boundary: 边界条件测试
|
|
critical: 关键业务流程测试
|
|
asyncio_mode = auto
|