- 替换 loguru 为原生 logging 库(与pytest兼容性更好)。 - 更新 pytest.ini 统一配置日志格式和基础命令。 - 优化 main.py 增加测试后的日志自动备份与定期清理功能。 - 新增 settings.py 实现配置解耦 - 更新 .gitignore
30 lines
363 B
Plaintext
30 lines
363 B
Plaintext
# Python-generated files
|
|
__pycache__/
|
|
*.py[oc]
|
|
build/
|
|
dist/
|
|
wheels/
|
|
*.egg-info
|
|
.idea
|
|
|
|
# --- 依赖与环境 ---
|
|
.venv
|
|
venv/
|
|
node_modules/
|
|
uv.lock
|
|
# --- 屏蔽outputs ---
|
|
outputs/logs/*.log
|
|
outputs/logs/backups/*
|
|
outputs/screenshots/
|
|
|
|
# --- Allure 报告 ---
|
|
temp/
|
|
report/
|
|
.allure/
|
|
|
|
# --- pytest缓存 ---
|
|
.pytest_cache/
|
|
.allure_cache/
|
|
|
|
# --- 配置文件 ---
|
|
.env |