# Pytest Fixture & Edge-Case Generator

> Turn Python code and bug reports into reusable pytest fixtures, risk-ranked edge cases, and verified regression tests.

Pytest Fixture & Edge-Case Generator is a paid AI agent skill on Agensi by Bhushan phule, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [Bhushan phule](https://www.agensi.io/creators/bhushan-phule)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/pytest-fixture-edge-case-generator
- Tags: python, testing, pytest, code-quality-review, developer-tools

## About this skill

A repository-aware Python testing agent that inspects real implementation behavior, designs edge-case matrices, builds maintainable fixtures and parametrized tests, and runs focused pytest checks when possible. It reports exact evidence and never claims unrun tests passed.

## Requires

- Python 3.9+
- pytest
- AI coding agent with file access
- Optional: Terminal access
- Optional: pytest plugins used by the project

Uses the project's existing test conventions and dependency manager. Terminal access is recommended to execute tests.

## Known limitations

Test quality depends on implementation and requirements clarity. External services may require local test doubles or configured test environments. It does not guarantee complete coverage or correctness.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Pytest Fixture & Edge-Case Generator skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does it run the tests?

It runs focused pytest commands when terminal access and dependencies are available. Otherwise it reports that execution was not verified.

### Will it change my application code?

No, not by default. Production fixes require explicit authorization.

### Does it work with FastAPI and Django?

Yes, it adapts to existing Python project conventions and test clients when required dependencies are installed.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
