From pbr
Generates tests for completed code phases by auto-detecting the test framework and targeting key files.
How this command is triggered — by the user, by Claude, or both
Slash command
/pbr:testThe summary Claude sees in its command listing — used to decide when to auto-load this command
This command is provided by the `pbr:test` skill.
This command is provided by the pbr:test skill.
npx claudepluginhub sienklogic/plan-build-run/generate-testsGenerate production-ready unit tests for source code files or snippets. Auto-detects framework (Jest, pytest, JUnit, etc.), covers happy paths, edges, errors, mocks.
/generate-test-casesGenerates unit, integration, edge case, performance, and error-handling test cases for target code or functions, including mocks, stubs, data-driven tests, and coverage analysis.
/add-testsGenerates unit and E2E tests for a completed phase, using UAT criteria and implementation files as specifications. Classifies files, presents a test plan for approval, then writes RED-GREEN tests.
/write-testsGenerates thorough unit tests for a specified file or function, auto-detecting the test framework and following project conventions. Runs tests after writing to confirm they pass.
/add-testsAdds tests for specified file path or function name, or recently changed files lacking coverage. Detects framework, analyzes code, writes happy path/edge/error tests, and runs them.