write-test-code

Generate pytest and Playwright test code from TC JSON or scenario inputs.

Updated Feb 11, 2026
Ready to run
npx skills add https://github.com/MediSolveAIDev/QA-MEDI-PLUGIN --skill write-test-code
πŸ’¬ Prompt for ChatGPT / Claude Chatβ–Ό
Please help me install this Agent Skill.
Skill: write-test-code
Source: https://github.com/MediSolveAIDev/QA-MEDI-PLUGIN/tree/main/.claude/skills/write-test-code
Command: npx skills add https://github.com/MediSolveAIDev/QA-MEDI-PLUGIN --skill write-test-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TC λ˜λŠ” μ‹œλ‚˜λ¦¬μ˜€λ₯Ό 기반으둜 ν…ŒμŠ€νŠΈ μ½”λ“œ 생성을 μžλ™ν™”ν•˜μ—¬ μˆ˜λ™ μ½”λ”© μ‹œκ°„μ„ λŒ€ν­ 쀄이고 초기 ν…ŒμŠ€νŠΈ 컀버리지λ₯Ό λΉ λ₯΄κ²Œ ν™•λ³΄ν•©λ‹ˆλ‹€.

Core Features & Use Cases

  • TC/μ‹œλ‚˜λ¦¬μ˜€ 기반 생성: TC JSON 파일 λ˜λŠ” μ‹œλ‚˜λ¦¬μ˜€λ₯Ό μž…λ ₯으둜 λ°›μ•„ pytest + Playwright ν…ŒμŠ€νŠΈ μ½”λ“œλ₯Ό μžλ™μœΌλ‘œ μƒμ„±ν•©λ‹ˆλ‹€.
  • μ¦‰μ‹œ μ‹€ν–‰ κ°€λŠ₯ν•œ μ½”λ“œ 생성: μƒμ„±λœ ν…ŒμŠ€νŠΈ νŒŒμΌμ€ λ°”λ‘œ pytest둜 μ‹€ν–‰ κ°€λŠ₯ν•˜λ„λ‘ κ΅¬μ„±λ©λ‹ˆλ‹€.
  • Use Case: λŒ€κ·œλͺ¨ ν…ŒμŠ€νŠΈ μŠ€μœ„νŠΈλ₯Ό μ‹ μ†νžˆ ꡬ좕해야 ν•˜λŠ” ν”„λ‘œμ νŠΈμ—μ„œ TC/μ‹œλ‚˜λ¦¬μ˜€λ₯Ό λ°›μ•„ ν…ŒμŠ€νŠΈ νŒŒμΌμ„ μžλ™μœΌλ‘œ μƒμ„±ν•©λ‹ˆλ‹€.

Quick Start

TC 파일 경둜 λ˜λŠ” μ‹œλ‚˜λ¦¬μ˜€ 파일 경둜λ₯Ό ν•˜λ‚˜ μ „λ‹¬ν•˜λ©΄ ν…ŒμŠ€νŠΈ μ½”λ“œ 생성을 μ¦‰μ‹œ μ‹œμž‘ν•©λ‹ˆλ‹€.

Frequently Asked Questions about write-test-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate pytest and Playwright test code from a test scenario?β–Ό

You can generate pytest and Playwright test code by passing a TC JSON file or scenario file path. The tool processes these scenario-driven inputs to output production-ready Python test files.

Can I automatically create Python test files from TC JSON inputs?β–Ό

Yes, you can automatically create Python test files from TC JSON inputs. The generated test files are immediately executable with pytest and configured for Playwright automation.

What is the best way to rapidly build test coverage from scenario-driven inputs?β–Ό

The best way to rapidly build test coverage from scenario-driven inputs is automating test generation. This approach converts TC JSON or scenarios directly into ready-to-run pytest and Playwright test files, reducing manual coding time.

Do I need a specific environment setup to run the generated pytest and Playwright tests?β–Ό

You need a Python environment with pytest and Playwright installed to run the generated tests. The tool outputs production-ready Python test files designed to execute immediately within this standard testing stack.

Are there limitations when generating test code from TC JSON for large test suites?β–Ό

When generating test code from TC JSON for large test suites, the primary limitation is the quality of the scenario inputs. The tool rapidly automates initial coverage but requires well-structured TC JSON to produce valid pytest and Playwright tests.