์Šคํ‚ฌ scenario-testing
๐Ÿงช

scenario-testing

์•ˆ์ „

Enforce scenario testing with real dependencies

๋˜ํ•œ ๋‹ค์Œ์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค: 2389-research

Mock-based testing creates false confidence in code quality. This skill enforces end-to-end scenario testing with real system dependencies to validate that features actually work.

์ง€์›: Claude Codex Code(CC)
๐Ÿ“Š 69 ์ ์ ˆํ•จ
1

์Šคํ‚ฌ ZIP ๋‹ค์šด๋กœ๋“œ

2

Claude์—์„œ ์—…๋กœ๋“œ

์„ค์ • โ†’ ๊ธฐ๋Šฅ โ†’ ์Šคํ‚ฌ โ†’ ์Šคํ‚ฌ ์—…๋กœ๋“œ๋กœ ์ด๋™

3

ํ† ๊ธ€์„ ์ผœ๊ณ  ์‚ฌ์šฉ ์‹œ์ž‘

ํ…Œ์ŠคํŠธํ•ด ๋ณด๊ธฐ

"scenario-testing" ์‚ฌ์šฉ ์ค‘์ž…๋‹ˆ๋‹ค. Write tests for the user registration feature

์˜ˆ์ƒ ๊ฒฐ๊ณผ:

  • I'll create a scenario test with real dependencies.
  • Creating .scratch/test-user-registration.py:
  • - Hit real database (test instance)
  • - Hit real auth service (sandbox mode)
  • - Zero mocks
  • - Validates complete registration flow
  • ย 
  • Running scenario... โœ“ Passes
  • ย 
  • Extracting pattern to scenarios.jsonl:
  • {"name":"user-registration","description":"User can register with email and password","given":"New user credentials","when":"User submits registration form","then":"User record exists in database and can authenticate","validates":"Registration flow"}
  • ย 
  • .scratch/ remains gitignored โœ“

๋ณด์•ˆ ๊ฐ์‚ฌ

์•ˆ์ „
v3 โ€ข 1/10/2026

Pure prompt-based skill with no code execution, no file access, no network calls, no external commands. Only provides testing methodology guidance through Markdown instructions.

1
์Šค์บ”๋œ ํŒŒ์ผ
98
๋ถ„์„๋œ ์ค„ ์ˆ˜
0
๋ฐœ๊ฒฌ ์‚ฌํ•ญ
3
์ด ๊ฐ์‚ฌ ์ˆ˜
๋ณด์•ˆ ๋ฌธ์ œ๋ฅผ ์ฐพ์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค

ํ’ˆ์งˆ ์ ์ˆ˜

38
์•„ํ‚คํ…์ฒ˜
100
์œ ์ง€๋ณด์ˆ˜์„ฑ
83
์ฝ˜ํ…์ธ 
31
์ปค๋ฎค๋‹ˆํ‹ฐ
100
๋ณด์•ˆ
78
์‚ฌ์–‘ ์ค€์ˆ˜

๋งŒ๋“ค ์ˆ˜ ์žˆ๋Š” ๊ฒƒ

Validate features before completion

Write end-to-end scenarios to prove new features work with real systems.

Create integration test suites

Build comprehensive scenario suites that exercise complete user workflows.

Establish testing standards

Define team-wide requirements for mock-free testing and pattern documentation.

์ด ํ”„๋กฌํ”„ํŠธ๋ฅผ ์‚ฌ์šฉํ•ด ๋ณด์„ธ์š”

Write feature test
Write a scenario test for [feature] that exercises real dependencies. Create .scratch/test-[feature].py and run it to verify it passes.
Replace mocks
Convert this test to use real dependencies instead of mocks. Hit actual services in test mode. Document the pattern in scenarios.jsonl.
Validate bug fix
Write a scenario test that reproduces the original bug. Run it to confirm the fix works. Keep it in .scratch/ for regression testing.
Build test suite
Create a complete scenario test suite for [module]. Each scenario must run independently, use real dependencies, and follow the pattern in scenarios.jsonl.

๋ชจ๋ฒ” ์‚ฌ๋ก€

  • Each scenario must be standalone and run independently without prior setup
  • Always execute scenarios to verify they pass before marking work complete
  • Extract recurring patterns to scenarios.jsonl to document what should work

ํ”ผํ•˜๊ธฐ

  • Using mocks - they test assumptions, not actual system behavior
  • Writing unit tests instead of scenarios - they do not validate features
  • Committing scratch scenarios - they belong in .gitignore

์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ

What AI tools support this skill?
Works with Claude, Codex, and Claude Code. Triggers on test-related keywords like 'write tests', 'validate feature', 'integration test', 'mock', 'e2e'.
How many test scenarios should I write?
Write one scenario per user workflow. Each scenario must exercise real dependencies end-to-end. More scenarios mean better coverage.
Can I use sandbox or test mode for dependencies?
Yes. Sandbox and test modes are acceptable. The key requirement is real dependencies, not production data. Use test databases and mock services.
Is my test data safe?
Scenarios live in .scratch/ which is gitignored. Test data stays local or in test environments. Patterns extracted to scenarios.jsonl contain no real data.
What if my system has no test environment?
This skill requires real dependencies. Ask your team to set up test infrastructure. Without it, scenarios cannot validate real system behavior.
How is this different from unit tests?
Unit tests verify isolated functions with mocks. Scenarios verify complete features with real systems. Unit tests provide comfort; scenarios provide truth.

๊ฐœ๋ฐœ์ž ์„ธ๋ถ€ ์ •๋ณด

์ž‘์„ฑ์ž

2389-research

๋ผ์ด์„ ์Šค

MIT

์ฐธ์กฐ

main

ํŒŒ์ผ ๊ตฌ์กฐ

๐Ÿ“„ SKILL.md