TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

43 pointsby dumindunuwanabout 8 years ago

7 comments

blatherardabout 8 years ago
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 未加载
chillacyabout 8 years ago
&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 未加载
kevinmhickeyabout 8 years ago
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 未加载
gillianlishabout 8 years ago
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.
xwvvvvwxabout 8 years ago
<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 未加载
majewskyabout 8 years ago
Link is down for me. Can someone give a tl;dr?
评论 #13816393 未加载
评论 #13816402 未加载
astrodustabout 8 years ago
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 未加载