# Python Testing · yandy-r

> Python testing patterns using pytest — TDD methodology, fixtures (function/module/session scopes), parametrization, markers, mocking with unittest.mock, async tests with pytest-asyncio, tmppath, conftest.py organization, and coverage targets. Use when the user is writing Python tests, adding test coverage to Python code, asks about pytest, @pytest.fixture, @pytest.mark.parametrize, @patch / Mock / MagicMock / autospec, pytest-asyncio, conftest.py, tmppath / tmpdir, pytest --cov, or wants TDD guidance for a Python project.

## Facts
- Page: https://tashan.sh/capability/skill-yandy-r-python-testing
- tashan id: skill:yandy-r/python-testing
- Source: https://github.com/yandy-r/claude-plugins
- Type: skill
- Category: devtools
- tashan score: 42.0 / 100
- Adoption: 17.0
- Upkeep: 61.0
- Freshness: 92.0
- Evidence coverage: 84% of the inputs this score can use
- Health: active
- Instruction depth: not yet graded
- License: MIT
- Official: no

## Install

```sh
cp -r python-testing ~/.claude/skills/
```

## Security audit
Not scanned. We audit npm-published capabilities; this one has no npm package we can resolve, or has not reached the queue. This is not a clean bill of health.

---
Measured 2026-08-16 by tashan (https://tashan.sh) from public evidence. Scorer s5.
