一键导入
pytest-test-framework
Execute and generate pytest tests for Python projects with fixtures, parametrization, and mocking support
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute and generate pytest tests for Python projects with fixtures, parametrization, and mocking support
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Third-party API integration patterns with webhook verification, idempotency, retry with Polly, circuit breakers, and HttpClientFactory. Use when integrating external services like Stripe, Twilio, SendGrid, or HubSpot.
Third-party API integration patterns with webhook verification, idempotency, retry with Polly, circuit breakers, and HttpClientFactory. Use when integrating external services like Stripe, Twilio, SendGrid, or HubSpot.
.NET 9 development with Clean Architecture, MediatR CQRS, Entity Framework Core, minimal APIs, and dependency injection. Use when writing C# code or working with .NET projects.
Azure DevOps YAML pipelines with multi-stage deployments, template references, variable groups, and environment approvals. Use when building CI/CD pipelines in Azure DevOps.
Azure DevOps YAML pipelines with multi-stage deployments, template references, variable groups, and environment approvals. Use when building CI/CD pipelines in Azure DevOps.
Production browser automation with Playwright for RPA, web scraping, and workflow automation. Resilient selectors, session persistence, retry patterns, and Playwright 1.56 agents. Distinct from E2E testing.
基于 SOC 职业分类
| name | pytest Test Framework |
| description | Execute and generate pytest tests for Python projects with fixtures, parametrization, and mocking support |
| version | 1.0.0 |
Provide pytest test execution and generation for Python projects, supporting:
python generate-test.py \
--source src/calculator.py \
--output tests/test_calculator.py \
--type unit \
--description "Calculator fails to handle division by zero"
python run-test.py \
--file tests/test_calculator.py \
--config pytest.ini
{
"success": true,
"testFile": "tests/test_calculator.py",
"testCount": 3,
"template": "unit-test"
}
{
"success": false,
"passed": 2,
"failed": 1,
"total": 3,
"duration": 0.234,
"failures": [
{
"test": "test_divide_by_zero",
"error": "AssertionError: Expected ZeroDivisionError",
"file": "tests/test_calculator.py",
"line": 15
}
]
}
Used by deep-debugger for Python project testing: