parameterized-tests
Enforce native parameterized or table-driven tests when adding or modifying unit tests that exercise the same behavior with multiple data cases.
Skill by dceoy
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dceoy-parameterized-tests
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/parameterized-tests
What's inside
- Skill name
parameterized-tests- Description
- Enforce native parameterized or table-driven tests when adding or modifying unit tests that exercise the same behavior with multiple data cases. Use whenever unit tests add repeated cases, edge-case matrices, or duplicated setup, execution, and assertions that differ only by case data.
- License
- AGPL-3.0
- Instructions
- 52 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- frameworks.md · references/
SKILL.md (first lines)
# Parameterized Tests Use data-driven tests whenever multiple unit-test cases exercise the same behavior with the same test logic. ## Core Rule When adding or modifying unit tests, if two or more cases share the same setup, execution, and assertion semantics and differ only in inputs, expected outputs, expected errors, options, or equivalent case data, express them with the test framework's native parameterization mechanism. If a new case would duplicate an existing standalone test with the same test logic, consolidate the touched group instead of adding another duplicated test. ## Workflow 1. Inspect nearby tests and repository guidance to identify the testing framework and established idioms. 2. Identify cases that share setup, execution, and assertion semantics. 3. Parameterize groups of two or more equivalent cases with the framework's native mechanism. 4. Keep each case independently identifiable in test output when the framework supports case names or IDs. 5. Prefer explicit case data over branching inside the shared test body. 6. Run the narrowest relevant test command after the change. See [references/frameworks.md](./references/frameworks.md) for common framework idioms. ## Parameterize Parameterize when cases differ only by data such as: - Inputs or arguments. - Expected return values. - Expected errors or exception values when the assertion structure remains the same. - Flags, options, environment values, or fixtures used uniformly by every case. - Boundary, validation, or normalization examples that exercise the same behavior. ## Keep Separate Keep tests separate when parameterization would require materially different: - Setup or teardown. - Execution paths or side effects. - Assertion semantics. - Behavior boundaries whose separation improves intent, such as success and failure behavior with different assertions. Do not parameterize merely to reduce line count. If the shared test body needs case-specific `if`, `switch`, or equivalent branching to express substantially different behavior, separate tests are usually clearer. ## Constraints - Prefer the framework's native parameterization or the language's established table-driven idiom over custom loops or helper abstractions. - Do not add a testing dependency solely to obtain parameterization. - Do not introduce a custom parameterization abstraction when the repository or framework already has an idiomatic mechanism. - Preserve repository-specific conventions when they are stricter than this skill. - Use descriptive case IDs or names when raw parameter values do not make failures obvious. - Keep case tables focused; split unrelated behaviors into separate parameterized tests rather than building one universal matrix.
From dceoy/ai-coding-agent-skills, AGPL-3.0.
More from dceoy/ai-coding-agent-skills
- 0.611score
gas-drive-html-server
dceoy
Create or update an independent Google Apps Script Web App that indexes and serves HTML files from a specified Google Drive folder, including its subfolders.
SkillAFreshness: A★ 4Claude Code +9 - 0.611score
gas-html-artifact
dceoy
Deploy an existing HTML artifact to Google Apps Script HTML Service with Google's clasp CLI, preserving compatible bytes or applying reviewed compatibility…
SkillAFreshness: A★ 4Claude Code +9 - 0.608score
x-timeline
dceoy
Read an authenticated X Following or For You timeline through agent-browser without APIs or engagement actions.
SkillAFreshness: A★ 4Claude Code +9 - 0.603score
local-qa
dceoy
Run local QA including formatting, linting, and testing for the repository.
SkillAFreshness: A★ 4Claude Code +9 - 0.571score
github-productivity
dceoy
Collect, retain, normalize, and analyze GitHub organization repository/PR/review/timeline/commit data through `gh api` into an organization-week delivery…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
oracle-chatgpt
dceoy
Run exactly one arbitrary prompt through ChatGPT via Oracle browser mode and return the captured response without reinterpretation.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
claude-agent-converter
dceoy
Convert Claude Code subagents (.claude/agents/*.md) to standard Agent Skills (skills/*/SKILL.md).
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
simplify-codebase
dceoy
Reduce a repository's maintenance surface across the whole codebase with KISS, DRY, and YAGNI while preserving required behavior.
SkillBFreshness: B★ 4Claude Code +9 - 0.564score
commit
dceoy
Create a single git commit from current staged and unstaged changes with an appropriate message.
SkillBFreshness: B★ 4Claude Code +9 - 0.564score
commit-push-pr
dceoy
Commit staged and unstaged changes, push the branch to origin, and open a pull request using the GitHub CLI.
SkillBFreshness: B★ 4Claude Code +9 - 0.563score
clean-gone-branches
dceoy
Remove local git branches whose configured upstream is marked [gone], including associated worktrees.
SkillBFreshness: B★ 4Claude Code +9 - 0.519score
claude-command-converter
dceoy
Convert Claude Code commands (.claude/commands/*.md) to standard Agent Skills (skills/*/SKILL.md).
SkillCFreshness: C★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 1
- Open issues
- 2
- Last commit (this folder)
- Aug 16, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/dceoy/ai-coding-agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from dceoy
- 0.611score
gas-drive-html-server
dceoy
Create or update an independent Google Apps Script Web App that indexes and serves HTML files from a specified Google Drive folder, including its subfolders.
SkillAFreshness: A★ 4Claude Code +9 - 0.611score
gas-html-artifact
dceoy
Deploy an existing HTML artifact to Google Apps Script HTML Service with Google's clasp CLI, preserving compatible bytes or applying reviewed compatibility…
SkillAFreshness: A★ 4Claude Code +9 - 0.608score
x-timeline
dceoy
Read an authenticated X Following or For You timeline through agent-browser without APIs or engagement actions.
SkillAFreshness: A★ 4Claude Code +9 - 0.603score
local-qa
dceoy
Run local QA including formatting, linting, and testing for the repository.
SkillAFreshness: A★ 4Claude Code +9 - 0.571score
github-productivity
dceoy
Collect, retain, normalize, and analyze GitHub organization repository/PR/review/timeline/commit data through `gh api` into an organization-week delivery…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
oracle-chatgpt
dceoy
Run exactly one arbitrary prompt through ChatGPT via Oracle browser mode and return the captured response without reinterpretation.
SkillBFreshness: B★ 4Claude Code +9
Cite this page
parameterized-tests skill. Agent Mart. https://agentmart.dev/skills/dceoy-parameterized-tests (last updated 2026-10-24)