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 to engage into using Automatic Testing

9 pointsby ipedrazasabout 10 years ago

3 comments

pekkabout 10 years ago
If you are hired to write code, that&#x27;s the contract; your job IS to write code. Just like a plumber&#x27;s job isn&#x27;t to solve problems in general, just the problems involving plumbing, and that&#x27;s what makes him a plumber instead of something else. Otherwise, there is no reason why we would call them plumbers, why they would get specifically educated in plumbing, and bring a plumber&#x27;s toolbox. You don&#x27;t call the plumber when you want a sandwich or a car repair. A plumber who lets clients jerk him around by having him make them sandwiches or answer their phones doesn&#x27;t know his business.<p>If you are a plumber, please don&#x27;t tell me that you offer solutions. Please tell me you are a plumber so I don&#x27;t have to get confused about what it is you are actually offering.
评论 #9120471 未加载
评论 #9120302 未加载
评论 #9120277 未加载
msoadabout 10 years ago
In my experience unit testing has less value than end-to-end testing. Unit tests rarely break and the reasons it break is not something that you couldn&#x27;t guess. In contrast end-to-end tests fail with a big surprise! I always enjoy seeing my end-to-end tests catching errors that I would never ever thought of.<p>The down side of end-to-end tests is that it&#x27;s slow to develop and slow to run. Because in many cases, end-to-end tests should be sequential and involves network calls and browser rendering. In general it&#x27;s worth it.
评论 #9120566 未加载
评论 #9120234 未加载
DanWaterworthabout 10 years ago
Modern software development has always struck me as trying to optimize the wrong thing. It tries to make change easy, but changing things is never easy. Just throw away your code and start again. If this a lot of effort, its probably doing too much.