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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What Integration testing framework do you use?

4 点作者 turlockmike将近 11 年前
So, at my new gig, we have 2 backend engineers and 3 front end. This is causing a problem since it means we can't use something like capybara as it requires ruby knowledge. What types of integration testing frameworks have you used for teams with various skills?

2 条评论

rubiquity将近 11 年前
In my experience, Capybara is the integration testing tool that teams with various skills use. Capybara is mostly just DSLs so you can get away not knowing Ruby all that much and still be effective with it. Will you write the most maintainable integration test suite of all time? Likely not, but your team can still be productive with it.<p>If most of your team knows JavaScript, there is CasperJS[0] which is like Capybara but for JavaScript.<p>0 - <a href="http://casperjs.org/" rel="nofollow">http:&#x2F;&#x2F;casperjs.org&#x2F;</a>
lobotryas将近 11 年前
As another poster said - of course you can use Cucumber (Capybara), just pick the flavor for the language that your team is most familiar with.<p>When using Cucumber, make sure you actually write end-to-end tests that will drive your app all the way to a result that demonstrates business value. Otherwise, you&#x27;re just writing unit tests :)