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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Unit Testing: A False Idol

5 点作者 zengr将近 14 年前

2 条评论

BadassFractal将近 14 年前
Given that high code coverage numbers (85% +) have historically resulted in significantly fewer code defects in projects, why should we try to have fewer UTs and move away from TDD? I generally prefer to pay the quality cost upfront and not have to bother with debugging weeks or months down the line.<p>And yes, obviously unit testing doesn't diminish the importance of integration / system testing.
fafssaf将近 14 年前
It's not about unit testing but rather testing properly. With powerful mocking frameworks like Typemock Isolator or Isolator++ <a href="http://www.typemock.com" rel="nofollow">http://www.typemock.com</a> many of these issues can be dealt with even for those who don't do TDD