用 fixture 复用登录状态 2026-10-22 约 1 分钟 Playwright 入门 · 第 5 篇 playwright pytest fixture 生命周期 代码复用 storage_state 保存登录态,避免每条用例都过一遍登录。 阅读全文
pytest 的 fixture 其实是个依赖注入容器 2026-10-07 约 1 分钟 Python 工程化 · 第 3 篇 python pytest fixture 的 scope、yield 清理、以及 conftest 的组织方式。 阅读全文