首页/ AI 技能 / @skilllib/skill-2117939930272410601
Skill站外收录 @skilllib/skill-2117939930272410601

plain-test

提供基于 pytest 的测试执行与调试能力,支持全量运行、按名称筛选、失败时进入调试器、首次失败即停止及详细输出等模式,同时集成专用 HTTP 测试客户端和包文档生成功能。

0.0 (0) 23 次安装 原作者 编程导航
收录于 2026-01-22
测试与安全 AI 技能

Skills.MD

# Running Tests ``` uv run plain test [pytest options] ``` ## Examples - `uv run plain test` - Run all tests - `uv run plain test -k test_name` - Filter by test name - `uv run plain test --pdb` - Drop into debugger on failure - `uv run plain test -x` - Stop on first failure - `uv run plain test -v` - Verbose output ## Writing Tests - Use pytest fixtures and conventions - Place tests in `tests/` directory - Use `plain.test.Client` for HTTP request testing ## Getting Package Docs Run `uv run plain docs <package> --source` for detailed API documentation.

评论 0

还没有评论,来抢沙发。