4 ms·
Nice project! I will have a look at it. I recently tried `bun:test` [1], which aims to become a drop-in replacement for Jest. It is quite good, but there is no
by conaclos 3y ago
Nice project! I will have a look at it.
I recently tried `bun:test` [1], which aims to become a drop-in replacement for Jest. It is quite good, but there is no way to do test coverage at the moment [2]. I am not sure that it will be fixed soon, as to my knowledge there is no test coverage instrumentation on JSC.
I replaced AVA with a minimal testing lib called Oletus [3].
It was also a delight compared to AVA.
I am currently one of the maintainers of Oletus.
[1] https://bun.sh/docs/cli/test https://bun.sh/docs/cli/test
[2] https://github.com/oven-sh/bun/issues/3158 https://github.com/oven-sh/bun/issues/3158
[3] https://github.com/bearror/oletus https://github.com/bearror/oletus
- Jarred 3y agobun test will get test coverage. I recently learned about a JSC api that lets you see which functions have been called or not called. There’s a “control flow profiler”. Just need to wire it up.