feat: 重构测试框架并优化代码结构
refactor(tests): 将e2e_tests迁移到tests_suite和api_integration_tests style: 为Java类添加文档注释 docs: 更新.gitignore和配置文件 test: 添加性能测试和Playwright测试脚本 chore: 清理旧测试文件和配置
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# Python依赖包
|
||||
|
||||
# 测试框架
|
||||
pytest==7.4.3
|
||||
pytest-asyncio==0.21.1
|
||||
pytest-cov==4.1.0
|
||||
pytest-xdist==3.5.0
|
||||
pytest-playwright==0.4.3
|
||||
|
||||
# Playwright
|
||||
playwright==1.40.0
|
||||
|
||||
# HTTP客户端
|
||||
httpx==0.25.2
|
||||
requests==2.31.0
|
||||
|
||||
# 数据处理
|
||||
pydantic==2.5.2
|
||||
pydantic-settings==2.1.0
|
||||
faker==20.1.0
|
||||
|
||||
# 数据库(可选,需要PostgreSQL开发库)
|
||||
# psycopg2-binary==2.9.9
|
||||
# testcontainers==3.7.1
|
||||
|
||||
# 配置管理
|
||||
python-dotenv==1.0.0
|
||||
pyyaml==6.0.1
|
||||
|
||||
# 测试报告
|
||||
allure-pytest==2.13.2
|
||||
|
||||
# 工具库
|
||||
loguru==0.7.2
|
||||
|
||||
# 性能测试(可选,需要额外配置)
|
||||
# locust==2.17.0
|
||||
Reference in New Issue
Block a user