pytest-skill: Enabling AI Assistants to Write pytest Following Production Practices

pytest-skill is a Python unit testing Agent Skill provided by TestMu AI in the agent-skills repository, designed to generate pytest test cases using fixtures, parametrize, markers, mocking, and conftest patterns. The article explains its purpose, core patterns and anti-patterns, pyproject configuration, common pytest commands, as well as how to install it via `npx agentskillsforall` and the scenarios in which it is useful.

Read More