Skip to content

Test writer

Adds tests for one under-tested function or feature per run.

  • Scans the codebase for untested or under-tested code
  • Picks one function or feature per run, which keeps PRs small and reviewable
  • Studies existing test files to match project conventions (runner, helpers, mocking patterns)
  • Works in an isolated git worktree
  • Runs tests, type-check, and lint before reporting completion
  • Does not modify source code; only adds or updates test files
  • Does not commit or push; the orchestrator handles all git operations
  • Each PR it opens is recorded as a done task (found-by: test-writer), so the merge ensurer tracks it and the coder applies review feedback when it is reopened
  • Default cron: every 2 hours at half past (30 */2 * * *)
Terminal window
vteam run test-writer --focus "invite user functionality"