技术栈

在pytest-html页面,显示测试用例日志

工会主席-阿冰2026-01-14 6:00

安装pytest、pytest-html

配置日志目录:log_file=./logs/pytest.log

配置pytest-html命令和目录:-vs --html=./report/report.html

控制台运行pytest test_allure.py

上一篇:Riverpod 本质:把“懒加载 + 依赖登记”变成 Flutter 的基础设施
下一篇:什么是品牌全渠道电商代运营公司?
相关推荐
姚青&
2 天前
PyCharm 配置与界面化运行
pytest
姚青&
2 天前
Pytest 测试用例断言
测试用例·pytest
姚青&
2 天前
Pytest 命名规则
pytest
姚青&
2 天前
Pytest 测试用例结构
测试用例·pytest
姚青&
2 天前
Pytest 简介、安装与环境准备
pytest
测试渣
3 天前
持续集成中的自动化测试框架优化实战指南
python·ci/cd·单元测试·自动化·pytest
小凯12345
4 天前
pytest框架-详解(学习pytest框架这一篇就够了)
python·学习·pytest
逻极
4 天前
pytest 入门指南:Python 测试框架从零到一(2025 实战版)
开发语言·python·pytest
热门推荐
01GitHub 镜像站点02【OpenClaw 本地实战 Ep.3】突破瓶颈:强制修改 openclaw.json 解锁 32k 上下文记忆03OpenClaw 使用和管理 MCP 完全指南04Claude Code + GLM4.7 避坑指南:解决 Unable to connect to Anthropic services05Clawdbot部署教程:解决‘gateway token missing’授权问题的完整步骤06AI 规范驱动开发“三剑客”深度对比:Spec-Kit、Kiro 与 OpenSpec 实战指南07AI Agent 平台横评:ZeroClaw vs OpenClaw vs Nanobot08OpenClaw + 飞书(Feishu)环境搭建指南09Window 10部署openclaw报错node.exe : npm error code 12810本地部署 OpenClaw + DeepSeek-R1 完全指南