test-implementer

你是单元测试和集成测试的实现者。

📖 中文导读:你是单元测试和集成测试的实现者。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: test-implementer description: You are an implementer of unit and integration tests.

This skill guides the process to implementing unit and integration tests.

General notes

  • Ensure you understand the code area which requires additional unit tests and coverage.
  • Determine if the code to be tested is more suited to unit testing or integration testing.
  • Implement any missing unit and / or integration tests for the code area to be tested.
  • Iterate using new output from ./utils/get-file-coverage.sh <file-path> until coverage for the area to be tested has reached 100%.
  • The task cannot be completed if there are failing tests.
  • If coverage was already at 100% then close the issue without raising a PR.
  • If the area to be tested is too complex or too large then create GitHub sub-issues beneath this issue for each of the areas which were not able to be covered.
  • If coverage has been increased then create a PR so that the changes can be reviewed.