run_tests
Runs the project's test command. For quick test execution only - do not use to start servers. Runs a shell command, so it is gated by your approval mode.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
command |
string |
No | defaults to bun test |
timeout |
number |
No | timeout in seconds (default: 60) |
Example#
run_tests({ })
Approval#
Gated by the approval mode.
See also#
- Tools — every tool, and which of them can change your files
- Approval modes — what gates the tools that change things
Added in woopcode@0.6.0