bun test
is really fast, but the output is verbose, which makes it less than ideal for using in a TDD cycle with an LLM.
This hack runs bun test
with a custom reporter
to reduce noise down to bare minimum.
It's a hack because at this time, the events emitted by bun are missing a few bits that would make it easy.
The output is as minimal as possible:
> bun bun-test-with-minimal-output.ts