testing-python

Generate or fix Python test files from story specifications and reviewer feedback.

1|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/outcomeengineering/spx-claude --skill testing-python-outcomeengineering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-python
Source: https://github.com/outcomeengineering/spx-claude/tree/main/plugins/python/skills/testing-python
Command: npx skills add https://github.com/outcomeengineering/spx-claude --skill testing-python-outcomeengineering

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation and correction of Python test files, ensuring your code is thoroughly validated and meets quality standards.

Core Features & Use Cases

  • Write New Tests: Generates test files based on story specifications.
  • Fix Rejected Tests: Addresses specific issues identified by reviewers in existing tests.
  • Use Case: You've written a new Python feature and need to create unit and integration tests for it. This Skill will generate the initial test files, and if they fail review, it will help you fix the identified problems.

Quick Start

Use the testing-python skill to write new tests for the story spec located at 'spx/01-capability/02-feature/21-story.story/'.

Frequently Asked Questions about testing-python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate pytest unit and integration tests from a story specification?

To generate pytest tests from a story specification, this Skill analyzes the story specs and automatically writes Python test files. It creates both unit and integration tests that cover the specified outcomes and adhere to defined Python testing standards.

How do I fix rejected Python tests based on reviewer feedback?

To fix rejected Python tests, this Skill analyzes reviewer feedback from rejected tests and modifies the existing test files. It remediates the identified problems to ensure the tests pass review and meet the required testing standards.

What levels of Python testing are supported when writing new test files?

Supported Python testing levels include unit, integration, and E2E tests. The Skill generates test files based on your story specification, ensuring comprehensive coverage across all defined testing levels for your Python code.

Can I use BDD specifications to write Python integration and unit tests?

Yes, you can use BDD story specifications to write Python tests. The Skill operates by analyzing your story specs to generate or modify test files, ensuring the resulting unit and integration tests cover the specified BDD outcomes.

What is the best way to ensure my new Python feature has valid test coverage?

The best way to ensure valid test coverage is to generate test files from your story specification and then remediate any rejected tests. This Skill validates your Python code by writing tests to established standards and fixing them based on reviewer feedback.

Do I need to provide a specific file format to automate Python test creation?

Yes, you need to provide a story specification file, such as a '.story' file located in your project directory. The Skill uses this story spec as the input to generate or fix the corresponding Python test files.