# pytest-skill

> Write deterministic Python test suites with pytest fixtures and parametrize

- **Publisher**: TestMu AI (LambdaTest) (Verified Publisher)
- **Upstream GitHub Repository**: https://github.com/LambdaTest/agent-skills/tree/main/pytest-skill
- **skills.sh Listing**: https://skills.sh/LambdaTest/agent-skills/pytest-skill
- **License**: MIT
- **GitHub Stars**: 393
- **Canonical Web Page**: https://builderthread.dev/skill/LambdaTest/agent-skills/pytest-skill
- **Parent Topic**: [python](https://builderthread.dev/skill/for/python.md)
- **Last Audited**: 2026-11-21
- **Supported Coding Agents**: Claude Code, Cursor, Codex, Windsurf

## Overview
MIT-licensed Python testing skill from LambdaTest (TestMu AI) teaching coding agents clean pytest fixtures, parametrized edge cases, monkeypatch mocking, and async FastAPI tests.

Inspect the full upstream `SKILL.md` source and license on GitHub before installing: https://github.com/LambdaTest/agent-skills/tree/main/pytest-skill

## Install Command
```bash
npx skills add LambdaTest/agent-skills --skill pytest-skill
```

## When to Use This Skill
- Writing unit and integration tests for Python libraries and FastAPI endpoints
- Structuring reusable conftest.py fixtures and database rollback helpers
- Testing error paths with parametrized inputs and deterministic mocks

## Focus Areas
- Pytest fixtures & scopes
- Parametrized test matrices
- Mocking & monkeypatch
- Async test clients

## Upstream Package Files
- `pytest-skill/SKILL.md`

---

## Ship With a Private Starter Repo, Living PRD & MCP Tasks

Builderthread pairs verified stack skills with a cited market brief, living PRD, private GitHub starter repo, and ordered MCP tasks for Claude Code, Cursor, and Codex.

- Supported languages: Rust, TypeScript, React Native (Expo), Python
- Starter stacks: Next.js SaaS, Hono API, FastAPI AI, Expo mobile, Tauri Rust desktop, WXT Chrome extension
- Start now: https://builderthread.dev/auth/signup
