Skip to main content
使用 --rerun-each 标志使用 Bun 测试运行器多次重新运行每个测试。这对于查找不稳定或非确定性测试很有用。
terminal
# 重新运行每个测试 10 次
bun test --rerun-each 10

请参阅 文档 > 测试运行器 了解 bun test 的完整文档。