界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

test-writer

test-writer

【开发与工程】Generate unit tests, integration tests, and test plans. TRIGGERS - Use when user wants tests, test cases, testing strategy, or test coverage.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: test-writer description: | Generate unit tests, integration tests, and test plans. TRIGGERS - Use when user wants tests, test cases, testing strategy, or test coverage.

Test Writer

Approach

  1. Analyze the code to understand functionality
  2. Identify test scenarios (happy path, edge cases, errors)
  3. Write tests using appropriate framework
  4. Include assertions for expected behavior
  5. Add edge case coverage

Output includes:

  • Test file with complete test suite
  • Test descriptions explaining what each test validates
  • Setup/teardown helpers
  • Mocking strategy for dependencies
  • Coverage recommendations
我的收藏