Home / fmind / dot · skills/python-testing/SKILL.md · GitHub

python-testing skillA

python-testing is agent-read markdown (skill) from fmind/dot: Write Python tests with pytest, fixtures, property tests, and test-driven development..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Python Testing

Prove a change with an honest red-green-refactor cycle: a failing test that detects the missing or broken behavior, then the smallest trustworthy change; [quality-assurance](../quality-assurance/SKILL.md) owns the broader campaign and [systematic-debugging](../systematic-debugging/SKILL.md) owns failures not yet understood.

For pytest fixture, collection, or assertion maintenance, use [pytest mechanics](references/pytest.md) directly. Use the red-green-refactor workflow below when implementing a behavior change; test-only maintenance does not require inventing a production change.

## Workflow

1. **Discover the harness**: Read repository instructions, existing tests, task definitions, and nearby patterns; find the smallest command that exercises the target behavior.
1. **State the contract**: Name the production change that would make the test pass and a plausible regression that would make it fail.
1. **RED**: Write one minimal test for one observable behavior; run it and confirm it fails for the missing behavior, not for a syntax, fixture, environment, or setup error.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add fmind/dot/python-testing@git:20260923.2988db2
Exact content
mdr add fmind/dot/python-testing@sha256:c01950a0d22019a6

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jztlefyj3otlaa6d.svg)](https://markdownregistry.com/a/art_jztlefyj3otlaa6d)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260923.2988db2 latest2026-09-23 2988db2 4,722 BA view · diff
git:20260919.44918442026-09-19 4491844 4,616 BA view · diff
git:20260916.50d68102026-09-16 50d6810 4,625 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4722 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

fmind/dot · 9 stars · license MIT · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jztlefyj3otlaa6d
GET https://markdownregistry.com/api/v1/resolve?ref=fmind/dot/python-testing
GET https://markdownregistry.com/api/v1/blob/c01950a0d22019a66d68cc37937830ba1cb55156d0b3322980bd85dbd54aa4fa

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from fmind/dot

chezmoi skill
fmind/dot · .agents/skills/chezmoi/SKILL.md · Manage chezmoi source names, templates, secrets, diffs, and deployment in fmind/dot.
git:20260920.d5fedf5 · audit A · 9 stars
dot-development skill
fmind/dot · .agents/skills/dot-development/SKILL.md · Develop fmind/dot CLI commands, session parsers, storage, configuration, and installation.
git:20260920.d5fedf5 · audit A · 9 stars
dot-release skill
fmind/dot · .agents/skills/dot-release/SKILL.md · Prepare, publish, recover, and verify fmind/dot releases through the repository task.
git:20260920.d5fedf5 · audit A · 9 stars
dot-skills skill
fmind/dot · .agents/skills/dot-skills/SKILL.md · Maintain fmind/dot skill packages, catalog budgets, routing contracts, and installed links.
git:20260920.d5fedf5 · audit A · 9 stars
dot-verify skill
fmind/dot · .agents/skills/dot-verify/SKILL.md · Qualify the fmind/dot working tree before a release: review changes, sync docs, run every gate, and smoke-test the dot…
git:20260924.4be3d0c · audit A · 9 stars
AGENTS.md agents
fmind/dot · AGENTS.md
git:20260920.d5fedf5 · audit A · 9 stars
CLAUDE.md claude
fmind/dot · CLAUDE.md
git:20260903.fa1d8bb · audit B · 9 stars
AGENTS.md@dot_agents agents
fmind/dot · dot_agents/AGENTS.md
git:20260920.d5fedf5 · audit A · 9 stars
acli skill
fmind/dot · skills/acli/SKILL.md · Search, plan, and update Atlassian Jira and Confluence with acli.
git:20260920.d5fedf5 · audit A · 9 stars
agent-evaluation skill
fmind/dot · skills/agent-evaluation/SKILL.md · Evaluate prompt, model, retrieval, and agent changes through repeated trials and outcome grading.
git:20260916.50d6810 · audit A · 9 stars
agent-frameworks skill
fmind/dot · skills/agent-frameworks/SKILL.md · Build Python agents with Google ADK, LangChain, LangGraph, and agents-cli: tools, state, and retrieval.
git:20260916.50d6810 · audit A · 9 stars
agent-harnesses skill
fmind/dot · skills/agent-harnesses/SKILL.md · Operate and configure Claude Code, Codex, Copilot, Grok, and OpenCode.
git:20260919.afe8ee0 · audit A · 9 stars

Every file in fmind/dot

Other files named python-testing

python-testing skill
affaan-m/ecc · .kiro/skills/python-testing/SKILL.md · Python testing best practices using pytest including fixtures, parametrization, mocking, coverage analysis, async…
git:20260330.866d9eb · audit A · 266,832 stars
python-testing skill
affaan-m/ecc · docs/es/skills/python-testing/SKILL.md · Estrategias de pruebas Python usando pytest, metodología TDD, fixtures, mocking, parametrización y requisitos de…
git:20260607.ac0f11c · audit A · 266,832 stars
python-testing skill
noesisvision/nasde-toolkit · examples/nasde-dev-skill/variants/claude-nasde-dev-with-testing/skills/python-testing/SKILL.md · Python testing strategies using pytest, TDD methodology, fixtures, mocking, parametrization, and coverage requirements.
git:20260323.75e7119 · audit A · 14 stars
python-testing skill
noesisvision/nasde-toolkit · examples/nasde-dev-skill/variants/claude-nasde-dev-full-stack/skills/python-testing/SKILL.md · Python testing strategies using pytest, TDD methodology, fixtures, mocking, parametrization, and coverage requirements.
git:20260323.75e7119 · audit A · 14 stars
python-testing skill
dmitriyyukhanov/claude-plugins · plugins/python-dev/skills/python-testing/SKILL.md · Python testing patterns with pytest including unit tests, integration tests, fixtures, mocking, and coverage. Use when…
git:20260310.7891929 · audit A · 7 stars
python-testing skill
kunanonj/ai-skills-hub · .agents/skills/python-testing/SKILL.md · Python testing best practices using pytest including fixtures, parametrization, mocking, coverage analysis, async…
git:20260628.caecf60 · audit A · 5 stars

Browse by kind, by grade A, or by owner.