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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Why Most Unit Testing Is Waste (2014) [pdf]

43 点作者 dumindunuwan大约 8 年前

7 条评论

blatherard大约 8 年前
This paper has been public for years at <a href="http:&#x2F;&#x2F;rbcs-us.com&#x2F;documents&#x2F;Why-Most-Unit-Testing-is-Waste.pdf" rel="nofollow">http:&#x2F;&#x2F;rbcs-us.com&#x2F;documents&#x2F;Why-Most-Unit-Testing-is-Waste....</a>
评论 #13816632 未加载
评论 #13816630 未加载
chillacy大约 8 年前
&gt; If you want to reduce your test mass, the number one thing you should do is look at the tests that have never failed in a year and consider throwing them away<p>And that&#x27;s how you get regressions. I get the rationale that these tests cover code which probably never changes, and tests are most useful for code that changes a lot. But if the guy who wrote the code left the company a year ago and then you have to change this code... it&#x27;s going to be a lot easier if there are good tests.
评论 #13816672 未加载
评论 #13816749 未加载
评论 #13816736 未加载
kevinmhickey大约 8 年前
I&#x27;m a bit skeptical of a paper written by a consulting company that specializes in QA services and training. Understanding a codebase well enough to write useful unit tests is very time consuming and difficult. Teaching devs the same requires domain, development and process skills. Other forms of testing (e.g. end-to-end, browser based, and manual) are much easier for an outside organization to apply based on rules in a BRD or user manual. It stands to reason that a company would write a white paper that nudges customers to a methodology that favors them.
评论 #13816750 未加载
评论 #13816833 未加载
gillianlish大约 8 年前
the programming people i admire most just randomly seem to be the same people who never write angry rants about programming topics.<p>took me 20 years to notice this.
xwvvvvwx大约 8 年前
<i>When I was programming on a daily basis, I did make code for testability purposes but I hardly wrote any unit tests. However I was renowned for my code quality and my nearly bug free software. I like to investigate WHY did this work for me?</i><p>This made me giggle. It&#x27;s like magic. don&#x27;t write tests, don&#x27;t find bugs....
评论 #13816839 未加载
majewsky大约 8 年前
Link is down for me. Can someone give a tl;dr?
评论 #13816393 未加载
评论 #13816402 未加载
astrodust大约 8 年前
There&#x27;s a lot of out-dated junk in this latest dump, so do take all of this with a gigantic grain of salt.
评论 #13816946 未加载