Hacker News new | ask | show | jobs
by scraggo 2001 days ago
I did a comparison of Ava, Mocha, and Jest test runners: https://github.com/scraggo/comparing-javascript-test-runners

Jest is the slowest if running tests in parallel with Mocha >=8. Mocha is the slowest in its default serial mode.

My conclusion with Jest was this:

"Jest is recommended if you want to get tests up and running quickly. It has everything built in and requires very little configuration. The command line and GUI experience is unmatched. Finally, it's the most popular and makes an excellent pair with React."