# test/mode
Enable or disable test mode on the current VM. When enabled, `defsuite`/`deftest` blocks execute; otherwise they are no-ops.
## Syntax
[test/mode $enabled]
## Parameters
- `$enabled` — boolean. Enabling also resets the pass/fail counters and clears any previous results.
## Examples
[test/mode true] # ... run tests ... [test/mode false]
## Returns
`nil`.
## See Also
`test/filter`, `test/results`, `deftest`, `defsuite`