Generates pytest test files from templates and executes them for Python projects with fixtures, parametrization, mocking, and JSON output.
npx claudepluginhub fortiumpartners/ai-meshThis skill uses the workspace's default tool permissions.
Provide pytest test execution and generation for Python projects, supporting:
Guides pytest usage for Python unit testing including test writing, fixtures, parametrization, mocking, configuration, coverage reports, and parallel execution.
Generates pytest tests and configurations for unit testing, integration testing, mocking, TDD, and test automation in Python projects. Triggers on pytest generator phrases.
Provides pytest patterns for fixtures, parametrization, markers, mocking, exception testing, and coverage in Python unit/integration tests.
Share bugs, ideas, or general feedback.
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: