TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Node framework with best testing support

4 点作者 aman-pro超过 7 年前
I am working on Sails JS for a large project and trying to write unit tests in it.<p>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.<p>Are there any frameworks that can handle test cases in a more efficient way?

2 条评论

niftylettuce超过 7 年前
We&#x27;re going to release Lad beta soon (uses Koa), <a href="https:&#x2F;&#x2F;lad.js.org" rel="nofollow">https:&#x2F;&#x2F;lad.js.org</a>. Right now our tests use ava, which runs in parallel. Feel free to join our Slack.
评论 #15957451 未加载
iends超过 7 年前
Sails had a bad reputation in a lot of NodeJS circles. Most people use express&#x2F;koa and use knex or pg-promise.
评论 #15944718 未加载