rembrembdocs

bail after 10 failures

bun test --bail=10


* * *

See [Docs > Test runner](../../../test/index.md) for complete documentation of `bun test`.

Was this page helpful?

[Suggest edits](https://github.com/oven-sh/bun/edit/main/docs/guides/test/bail.mdx)[Raise issue](<https://github.com/oven-sh/bun/issues/new?title=Issue on docs&body=Path: /guides/test/bail>)

[

Set a per-test timeout with the Bun test runner

Previous

](../timeout/index.md)[

Re-run tests multiple times with the Bun test runner

Next

](../rerun-each/index.md)