Ask HN: Node framework with best testing support

by aman-proon 12/16/2017, 7:18 PMwith 5 comments

I am working on Sails JS for a large project and trying to write unit tests in it.

I am not too happy with the support for unit testing in Sails. It takes a good 7-10 seconds before it starts running the test cases, there is no out-of-the-box support for fixtures as well.

Are there any frameworks that can handle test cases in a more efficient way?

by niftylettuceon 12/18/2017, 12:31 AM

We're going to release Lad beta soon (uses Koa), https://lad.js.org. Right now our tests use ava, which runs in parallel. Feel free to join our Slack.

by iendson 12/17/2017, 5:13 AM

Sails had a bad reputation in a lot of NodeJS circles. Most people use express/koa and use knex or pg-promise.