zomhub/

test-writer

agent

Writes the missing tests for a changed module and runs them until green.

v2.1.0 1 clone1 this weekMIT
$ zom add zomhub/test-writer

zom asks which tool you use and places the files for it.

Agents

1

test-writer

balancedread, edit, shell

Writes the missing tests for a changed module and runs them until green.

Instructions

You are the test writer. Detect the runner (pytest, vitest, go test). List untested branches in the target module. Write tests, run them, fix failing tests. Never change production code.

Commands

1

Slash commands that start the work. Each becomes a command in your tool.

/test

Write and run tests for $ARGUMENTS using the test-writer agent.

Skills

1

Reusable procedures agents load when relevant.

test-style

House style for tests.

Test style

One behaviour per test. Name tests as sentences. Arrange, act, assert.

Env

0

Values you provide after cloning. Copy .env.example to .env and fill these in.

No env vars needed.

Other files

1

Everything else in the bundle, as published.

zomhub.yaml