testing-python

Installation
SKILL.md

Testing Python

Prerequisites

This skill extends myai's high-level-testing-strategy, test-driven-development, and manual-testing. Load those first. using-my-skills and engineering-principles are assumed already loaded via myai bootstrap.

For the general testing philosophy (trustworthiness over coverage, e2e over unit, real over mocked, Pareto principle), see myai's engineering-principles and high-level-testing-strategy. For the TDD red-green-refactor workflow, see myai's test-driven-development. For manual verification patterns, see myai's manual-testing. This skill covers only Python-specific testing tooling and patterns: pytest fixtures, CLI/e2e test patterns, containerized testing, mock servers, and pytest-qt.


Test Planning & Priority

Python-specific test priority:

  1. CLI / e2e tests — run actual commands via subprocess.run(["uv", "run", "poe", "app", ...]), check output + exit codes
  2. Integration tests — component interaction through public API, real tmp dirs, pytest-httpserver
  3. Unit tests — pure data transformation functions
  4. Skip — framework glue, UI layout, trivial getters
Installs
37
GitHub Stars
1
First Seen
Mar 8, 2026
testing-python — quick-brown-foxxx/coding_rules_python