[pytest] testpaths = tests python_files = test_*.py python_classes = Test* python_functions = test_* pythonpath = . addopts = -v --strict-markers --tb=short -p no:allure markers = unit: 单元测试 auth: 认证相关测试 user: 用户管理测试 role: 角色管理测试 permission: 权限管理测试 menu: 菜单管理测试 websocket: WebSocket实时通信测试 e2e: 端到端业务流程测试 comprehensive: 综合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: 关键业务流程测试 uat: 用户验收测试 acceptance: 验收测试 user_lifecycle: 用户生命周期测试 role_workflow: 角色工作流测试 config_workflow: 配置工作流测试 data_dict_workflow: 数据字典工作流测试 audit_workflow: 审计工作流测试 comprehensive_workflow: 综合工作流测试 security: 安全测试 user_experience: 用户体验测试 business_scenario: 业务场景测试 integration: 集成测试 asyncio_mode = auto