stryker-mutator / stryker-js

Mutation testing for JavaScript and friends
https://stryker-mutator.io
Apache License 2.0
2.58k stars 248 forks source link

Support bun test runner #4439

Open tomerh2001 opened 1 year ago

tomerh2001 commented 1 year ago

Describe the solution you'd like To be able to natively use bun's superior test runner

Describe alternatives you've considered Jest

nicojs commented 1 year ago

@odinvanderlinden, you've investigated this 😇

odinvanderlinden commented 1 year ago

Hi @tomerh2001 I did some investigation into the bun test runner. It is insanely fast, but it doesn't have a public API yet. https://github.com/oven-sh/bun/issues/5411 I also tried running Stryker init but when I chose Vitest as test runner the CLI froze. And running Stryker on an existing project also didn't work with bun unfortunately. Do you have any success running Stryker with Bun? I think the Bun 1.0 release was a bit rushed as the amount of issues on their GitHub is huge. I would love to use Bun but I think its simply not ready yet. I will definitely be watching the development of Bun closely though!

nicojs commented 1 year ago

Bun test runner is documented here: https://bun.sh/docs/cli/test

marsen commented 5 months ago

follow this issue :D