teambrilliant

8 Define Test Cases — Testing skill for Claude Code

Testing community

Define Test Cases Command.

How to install 8 Define Test Cases

Installs to ~/.claude/commands/teambrilliant-claude-research-plan-implement-8_define_test_cases.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/teambrilliant/claude-research-plan-implement/HEAD/.claude/commands/8_define_test_cases.md -o ~/.claude/commands/teambrilliant-claude-research-plan-implement-8_define_test_cases.md

Restart Claude Code, or start a new session, for it to be picked up.

What 8 Define Test Cases does

Define Test Cases Command

You are helping define automated acceptance test cases using a Domain Specific Language (DSL) approach.

Core Principles

  1. **Comment-First Approach**: Always start by writing test cases as structured comments before any implementation.

  2. **DSL at Every Layer**: All test code - setup, actions, assertions - must be written as readable DSL functions. No direct framework calls in test files.

  3. **Implicit Given-When-Then**: Structure tests with blank lines separa

Alternatives in Testing

  • Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
  • #29 — #52, #103) 92.5k ★
  • /test Routing — Vérifie le routing de commandes RTK sans exécution (dry-run) 25.5k ★

Full documentation available on GitHub

View Source Repository