Files
novalon-manage-system/tests_suite/pytest.ini
T
张翔 c50ccd258f feat: 重构测试框架并优化代码结构
refactor(tests): 将e2e_tests迁移到tests_suite和api_integration_tests
style: 为Java类添加文档注释
docs: 更新.gitignore和配置文件
test: 添加性能测试和Playwright测试脚本
chore: 清理旧测试文件和配置
2026-03-14 13:49:39 +08:00

40 lines
996 B
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 =
unit: 单元测试
integration: 集成测试
e2e: 端到端测试
performance: 性能测试
security: 安全测试
smoke: 冒烟测试
regression: 回归测试
slow: 慢速测试
playwright: Playwright浏览器自动化测试
auth: 认证相关测试
user: 用户管理测试
role: 角色管理测试
permission: 权限管理测试
menu: 菜单管理测试
websocket: WebSocket实时通信测试
example: 示例测试
exception: 异常场景测试
dictionary: 字典管理测试
dict: 字典管理测试
config: 系统配置测试
audit: 审计日志测试
notice: 通知公告测试
file: 文件管理测试
asyncio_mode = auto