An extremely fast and lightweight test runner for Node and the browser ↦
uvu
has minimal dependencies and supports both async
/await
style tests and ES modules, but it’s not immediately clear to me why it benchmarks so well against the likes of Jest and Mocha.
~> "jest" took 1,630ms (861 ms)
~> "mocha" took 215ms ( 3 ms)
~> "tape" took 132ms ( ??? )
~> "uvu" took 74ms ( 1.4ms)
The benchmark suites are pretty basic, so it’d be cool to see a “production” grade library or application port their test suite to uvu
for comparison.
Discussion
Sign in or Join to comment or subscribe