modelscope.cn

test-engineer

编写、运行和优化项目测试用例(Vitest)。

Installation

$ npx skills add https://modelscope.cn

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
Declared agents github-copilot

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 913 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Test Engineer Skill

能力 (Capabilities)

  • 测试编写: 使用 Vitest 编写针对 Vue 组件和 TypeScript 逻辑的测试。
  • 测试运行: 熟练运行 pnpm test 或针对特定文件的测试命令。
  • 覆盖率分析: 阅读和理解测试覆盖率报告。
  • Mocking: 模拟 API 响应、Nuxt composables (如 useI18n)。

指令 (Instructions)

  1. 文件读取: 先阅读被测试文件的源代码,理解逻辑分支。
  2. 用例设计: 考虑正常流程、异常流程和边缘情况。
  3. Mock 配置: 在 tests/testSetup.ts 或测试文件中配置必要的 mock。
  4. 执行验证: 编写完后必须运行测试确保其通过。