
Description
python-testing is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out testing strategies for Python applications using pytest, following a test-driven development method. Its topics include fixtures, mocking, parametrised tests and coverage requirements. The workflow is the red, green, refactor cycle, which the skill says to follow whenever new Python code is written. It applies when writing new Python code, designing test suites for Python projects, reviewing test coverage, and setting up testing infrastructure. Because it is a SKILL.md file of instructions, an AI coding agent loads it for those tasks and writes tests in the same structure each time. It does not run the tests itself. It is free and open source, and the skills.sh listing shows all three security audits passing.…
Highlights
- pytest test patterns
- Fixtures, mocking and parametrisation
- Coverage requirements
- Red, green, refactor workflow
Ratings & Reviews
No ratings yet
Be the first to rate python-testing.
People also visit

pytest-coverage
Run pytest with coverage reporting to identify and eliminate untested code lines
python-testing FAQ
What does the python-testing skill do?
It guides an agent in writing and organising Python tests with pytest, using TDD, fixtures, mocks and coverage targets.
Which workflow does it follow?
Red, green, refactor: write a failing test, make it pass, then refactor.
How is it different from python-patterns?
python-patterns covers general Python style and design, while python-testing covers writing and reviewing tests.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill python-testing
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best python-testing alternatives?
Popular alternatives to python-testing include pytest-coverage, test-master and python-testing-patterns. See all python-testing alternatives
















