Settings

Theme

Ask HN: Node framework with best testing support

4 points by aman-pro 8 years ago · 5 comments · 1 min read

Reader

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?

niftylettuce 8 years ago

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.

  • ajeet_dhaliwal 8 years ago

    I concur with Ava, it's very cool and has clean syntax and is well featured and documented.

    Since aman-pro is working on a large project (with multiple devs and continuous integration possibly?) keep in mind solid reporting too. Check my profile for my highly biased opinion on what's best for that, but seriously feel free to contact me, I can provide hands on help.

iends 8 years ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection