# Pytest Fixture Generator

> Pytest Fixture Generator

- Skill: `agentskillexchange/pytest-fixture-generator` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/pytest-fixture-generator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/pytest-fixture-generator/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/agentskillexchange/pytest-fixture-generator

---


# Pytest Fixture Generator



## Prerequisites

Python

## Installation

Requirements and caveats from upstream:
- .. code-block:: python
- <https://docs.pytest.org/en/stable/explanation/goodpractices.html#python-test-discovery>_
- Python 3.10+ or PyPy3

Basic usage or getting-started notes:
- An example of a simple test:
- Thanks to pytest's detailed assertion introspection, you can simply use plain assert statements. See getting-started <https://docs.pytest.org/en/stable/getting-started.html#our-first-test-run>_ for more examples.
- Can run unittest <https://docs.pytest.org/en/stable/how-to/unittest.html>_ (or trial)

- Source: https://github.com/pytest-dev/pytest
- Extracted from upstream docs: https://raw.githubusercontent.com/pytest-dev/pytest/HEAD/README.rst

## Documentation

- https://docs.pytest.org/en/stable/how-to/fixtures.html

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/pytest-fixture-generator/)

