Comparison with native node test runner #4631
philly-vanilly
started this conversation in
General
Replies: 2 comments 2 replies
-
At the moment of writing, with the current Node LTS (v20), the test runner does not support We run |
Beta Was this translation helpful? Give feedback.
2 replies
-
maybe matter of taste or something, but for me it was tests output format (especially when some tests are failing), that made me to stick with vitest instead of built-in test runner... it just gets to much noisy as of now with all the stack traces that are thrown into stdout by built-in one |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How does vitest compare to 'node:test'?
The docs don't mention the new node native test runner, which seems to be the new way of doing testing https://www.sitepoint.com/node-js-20-new/
Other runtimes took an alternative view and offered built-in tools considered essential for development. Deno, Bun, Go, and Rust all offer built-in test runners. Developers have a default choice but can opt for an alternative when their project has specific requirements.
Would be nice if someone with in-depth knowledge wrote something about the advantages/disadvantages/use-cases of each
Beta Was this translation helpful? Give feedback.
All reactions