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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Types of Tests

36 点作者 davemo大约 13 年前

3 条评论

davemo大约 13 年前
I learned a lot reading this; in particular the discussion about fragility as it relates to using test-doubles for some collaborators and not for others in a single test instance. However, I absolutely love your conclusion hook as it validates (most of) my testing worldview.<p>I only say "most of" because I have rarely worked on a team where maximally realistic tests were anything but slow/fragile monstrosities that became stale very quickly.<p>I &#60;3 isolation testing :)
评论 #3788459 未加载
searls大约 13 年前
I'll be checking this thread today and would be happy to respond to anyone's feedback or criticism.
codereview大约 13 年前
There's a lot of misconception about tests. If you're interested in how to start unit testing, check out this tutorial on Wednesday: <a href="http://j.mp/HPguPs" rel="nofollow">http://j.mp/HPguPs</a>