AGENT SKILL

write-tests

Write unit tests for code that has none. Use when the user asks for tests or for better test coverage.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 4
Forks
7

01 前言 Front Matter

name
write-tests
license
Apache-2.0
description
Write unit tests for code that has none. Use when the user asks for tests or for better test coverage.

02 资源文件 1

03 SKILL.md 正文

Write tests

  1. Run python3 scripts/find_untested.py from this skill's directory, with the project's source directory as its argument. It prints the functions that no test file names.
  2. Pick the first three and write one test for each, next to the tests that already exist.
  3. Run the tests and fix the tests, not the code, until they pass.

04 同仓库更多 Skills