Python Testing Patterns
jh941213/my-cc-harness
Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development.
Use as the lead skill when choosing what backend tests to write, reviewing test plans, or balancing unit, integration, API, concurrency, and E2E coverage
$ npx skills add dzhalaevd/Donatello --skill testing-test-strategy -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dzhalaevd/Donatello testing-test-strategy --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dzhalaevd/Donatello.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/testing-test-strategy .claude/skills/testing-test-strategy && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "testing-test-strategy" agent skill from https://github.com/dzhalaevd/Donatello/tree/main/.agents/skills/testing-test-strategy into .claude/skills/testing-test-strategy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-test-strategy", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dzhalaevd/Donatello/tree/main/.agents/skills/testing-test-strategyType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dzhalaevd/Donatello --skill testing-test-strategy -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dzhalaevd/Donatello testing-test-strategy --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dzhalaevd/Donatello.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/testing-test-strategy .agents/skills/testing-test-strategy && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "testing-test-strategy" agent skill from https://github.com/dzhalaevd/Donatello/tree/main/.agents/skills/testing-test-strategy into .agents/skills/testing-test-strategy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-test-strategy", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dzhalaevd/Donatello --skill testing-test-strategy -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dzhalaevd/Donatello testing-test-strategy --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dzhalaevd/Donatello.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/testing-test-strategy .cursor/skills/testing-test-strategy && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "testing-test-strategy" agent skill from https://github.com/dzhalaevd/Donatello/tree/main/.agents/skills/testing-test-strategy into .cursor/skills/testing-test-strategy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-test-strategy", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dzhalaevd/Donatello.git --path .agents/skills/testing-test-strategy--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dzhalaevd/Donatello --skill testing-test-strategy -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dzhalaevd/Donatello testing-test-strategy --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dzhalaevd/Donatello.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/testing-test-strategy .gemini/skills/testing-test-strategy && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "testing-test-strategy" agent skill from https://github.com/dzhalaevd/Donatello/tree/main/.agents/skills/testing-test-strategy into .gemini/skills/testing-test-strategy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-test-strategy", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dzhalaevd/Donatello testing-test-strategyInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dzhalaevd/Donatello --skill testing-test-strategy -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dzhalaevd/Donatello.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/testing-test-strategy .github/skills/testing-test-strategy && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "testing-test-strategy" agent skill from https://github.com/dzhalaevd/Donatello/tree/main/.agents/skills/testing-test-strategy into .github/skills/testing-test-strategy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-test-strategy", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dzhalaevd/Donatello --skill testing-test-strategy -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dzhalaevd/Donatello testing-test-strategy --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dzhalaevd/Donatello.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/testing-test-strategy .opencode/skills/testing-test-strategy && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "testing-test-strategy" agent skill from https://github.com/dzhalaevd/Donatello/tree/main/.agents/skills/testing-test-strategy into .opencode/skills/testing-test-strategy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "testing-test-strategy", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
testing-test-strategyUse as the lead skill when choosing what backend tests to write, reviewing test plans, or balancing unit, integration, API, concurrency, and E2E coverage
Testing Test Strategy is an agent skill from dzhalaevd/Donatello. Use as the lead skill when choosing what backend tests to write, reviewing test plans, or balancing unit, integration, API, concurrency, and E2E coverage
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Test strategy, Test generation and End-to-end testing. It works with Python and pytest. The repository describes itself as: Make Dating Great Again. An open source dating platform. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b57816e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Testing Test Strategy loads about 1.7k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 750 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from dzhalaevd/Donatello at commit b57816e, republished under its Apache-2.0 licence (© dzhalaevd). 750 words, ~1,713 tokens.
.claude/skills/testing-test-strategy/SKILL.md (or your agent's skills folder).Help an agent choose a valuable backend test suite. The goal is confidence, safe refactoring, and readable tests, not maximum coverage.
Use this skill when the user asks to:
Choose the lead skill by the primary risk, then add supporting skills for tooling or workflow.
| User need | Lead skill | Supporting skills |
|---|---|---|
| Decide what tests are needed | testing-test-strategy | unit-testing, integration-testing, concurrency_fuzzing_testing, testing-pytest |
| Isolated Python logic, validation, transformations, simple async function awaited once | unit-testing | testing-pytest |
| Real database, repository, transaction, migration, API flow, or multiple components | integration-testing | testing-pytest |
Multiple workers/tasks/threads, asyncio.Queue, shared state, locks, cancellation, backpressure, lost updates, order-dependent failures | concurrency_fuzzing_testing | integration-testing, testing-pytest |
Runnable pytest syntax, fixtures, parametrization, mocks, pytest-httpx, dirty-equals | the relevant level skill | testing-pytest |
| Production change should be test-first | the relevant level skill | test-driven-development, testing-pytest |
Async alone is not a concurrency-fuzzing signal. An async function with controlled dependencies and no competing task is usually a unit test. Concurrency fuzzing becomes the lead when correctness depends on interleaving between concurrent operations.
For this project, tests should protect meaningful user outcomes and trust. Prefer tests that verify compatibility, transparency, safety, and offline-meeting flows over tests that only defend internal plumbing.
Do not optimize test plans around engagement mechanics, gamified loops, or retention-only behavior.
Before writing tests, identify the observable behavior and the smallest public interface that can verify it.
Choose unit tests when:
A unit is a unit of behavior, not necessarily one class or function.
Choose integration tests when:
Use an isolated test database. Never use production data or production infrastructure.
Choose API or E2E tests when:
Keep E2E tests few. They are slower, costlier to maintain, and worse at localizing failures.
Use this as a default:
If a service has little isolated business logic, it is fine to have more integration/API tests and fewer unit tests.
Coverage is a signal, not a goal.
Judge tests by:
A small suite that catches real regressions is better than 100% coverage made of brittle tests.
if statements inside tests.When the user asks for a strategy:
When the user asks for a review:
Write more confidence, not more tests.
A test should answer: if this fails, did user-visible or business behavior actually break?
© dzhalaevd, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/testing-test-strategy of dzhalaevd/Donatello.
Open the folder on GitHubat commit b57816e
Testing Test Strategy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Testing Test Strategy this skilldzhalaevd/Donatello | 135 | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Python Testing Patternsjh941213/my-cc-harness | 126 | 17 repos | ~5.4k | Automated safety check: Pass | None | |
| Testing Patternssoftspark/ai-toolkit | 179 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Python Testingathola/claude-night-market | 342 | — | ~800 | Automated safety check: Pass | MIT | |
| Adk Verify Snippetsgoogle/adk-python | 22k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Hermetic Python Unit TestsdimensionalOS/dimos | 4.6k | — | ~1.4k | Automated safety check: Pass | Custom licence |
jh941213/my-cc-harness
Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development.
softspark/ai-toolkit
Testing strategy: pyramid, AAA, mocks/fakes/stubs, flaky tests, coverage.
athola/claude-night-market
Python testing patterns with pytest, fixtures, TDD, mocking, async and integration tests.
google/adk-python
Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail…
dimensionalOS/dimos
Rules for writing, fixing and reviewing pytest unit tests that are hermetic: behavior-focused, deterministic, isolated and cheap to run.
CloudAI-X/claude-workflow-v2
Designs and implements testing strategies for any codebase. An agent skill from CloudAI-X/claude-workflow-v2.
dzhalaevd/Donatello
Guides stable API and interface design. An agent skill from dzhalaevd/Donatello.
dzhalaevd/Donatello
Records decisions and documentation. An agent skill from dzhalaevd/Donatello.
dzhalaevd/Donatello
Automates CI/CD pipeline setup. An agent skill from dzhalaevd/Donatello.
dzhalaevd/Donatello
Manages deprecation and migration. An agent skill from dzhalaevd/Donatello.
dzhalaevd/Donatello
Instruments code so production behavior is visible and diagnosable.
dzhalaevd/Donatello
Prepares production launches. An agent skill from dzhalaevd/Donatello.
Categories
Use as the lead skill when choosing what backend tests to write, reviewing test plans, or balancing unit, integration, API, concurrency, and E2E coverage. Testing Test Strategy is an agent skill from dzhalaevd/Donatello.
Testing Test Strategy fits situations like: tasks that involve Test strategy; tasks that involve Test generation; tasks that involve End-to-end testing.
Run `npx skills add dzhalaevd/Donatello --skill testing-test-strategy -a claude-code`. Or copy the skill folder (.agents/skills/testing-test-strategy in dzhalaevd/Donatello) into .claude/skills/testing-test-strategy in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dzhalaevd/Donatello --skill testing-test-strategy -a codex`. Or copy the skill folder (.agents/skills/testing-test-strategy in dzhalaevd/Donatello) into .agents/skills/testing-test-strategy in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dzhalaevd/Donatello --skill testing-test-strategy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/testing-test-strategy, .gemini/skills/testing-test-strategy, .github/skills/testing-test-strategy and .opencode/skills/testing-test-strategy in your project.
SKILL.md names no scripts, command-line tools or credentials: Testing Test Strategy is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Testing Test Strategy is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Testing Test Strategy: Python Testing Patterns (jh941213/my-cc-harness, 126 stars), Testing Patterns (softspark/ai-toolkit, 179 stars), Python Testing (athola/claude-night-market, 342 stars) and Adk Verify Snippets (google/adk-python, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dzhalaevd (a GitHub user) maintains it in dzhalaevd/Donatello, which has 135 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 3, 2026.
Source: dzhalaevd/Donatello on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.