Python Testing Pytest

当为 Python 项目搭建 pytest 测试体系、写单元/集成测试或 mock 外部依赖时使用;用 fixture/参数化/mock/monkeypatch 按 AAA 模式产出可执行测试、conftest 与覆盖率配置;不适用于非 Python 语言或拿测试替代环境验证与专家评审。触发词:pytest、fixture、参数化、mock、覆盖率

findscripter a177014 6.1 KB Updated

File contents

findscripter/everything-skills/tree/main/02-engineering/python-testing-pytest commit a177014643

Frequently asked questions

npx skillmds@latest add findscripter/python-testing-pytest