Skip to content
Back to skills

Python Testing

ASecurity

Python testing with pytest and TDD, fixtures, mocks, parametrization and coverage. Use when writing or fixing pytest tests.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentspythontesting

Security analysis

A100/100

Pro scans all 16 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add ghvinashvili/specagent --skill python-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Python Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Python Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ghvinashvili-python-testing/badge)](https://www.skillsdirectory.com/skills/ghvinashvili-python-testing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: python-testing
description: Python testing with pytest and TDD, fixtures, mocks, parametrization and coverage. Use when writing or fixing pytest tests.
metadata:
  origin: ECC
---

# Python Testing Patterns

Comprehensive testing strategies for Python applications using pytest, TDD methodology, and best practices.

## When to Activate

- Writing new Python code (follow TDD: red, green, refactor)
- Designing test suites for Python projects
- Reviewing Python test coverage
- Setting up testing infrastructure

## Additional resources

Each further section of this skill is a file of its own under `references/`; read the one the task needs:

- [Core Testing Philosophy](references/core-testing-philosophy.md)
- [pytest Fundamentals](references/pytest-fundamentals.md)
- [Fixtures](references/fixtures.md)
- [Parametrization](references/parametrization.md)
- [Markers and Test Selection](references/markers-and-test-selection.md)
- [Mocking and Patching](references/mocking-and-patching.md)
- [Testing Async Code](references/testing-async-code.md)
- [Testing Exceptions](references/testing-exceptions.md)
- [Testing Side Effects](references/testing-side-effects.md)
- [Test Organization](references/test-organization.md)
- [Best Practices](references/best-practices.md)
- [Common Patterns](references/common-patterns.md)
- [Quick Reference](references/quick-reference.md)

Files in this skill

  • LICENSE1 KB
  • SHA256SUMS1.4 KB
  • SKILL.md1.4 KB
  • references/best-practices.md1 KB
  • references/common-patterns.md1.4 KB
  • references/core-testing-philosophy.md609 B
  • references/fixtures.md2.7 KB
  • references/markers-and-test-selection.md411 B
  • references/mocking-and-patching.md2.6 KB
  • references/parametrization.md943 B
  • references/pytest-fundamentals.md1.3 KB
  • references/quick-reference.md542 B
  • references/test-organization.md1.1 KB
  • references/testing-async-code.md1.7 KB
  • references/testing-exceptions.md702 B
  • references/testing-side-effects.md1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.