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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Why to engage into using Automatic Testing

9 点作者 ipedrazas大约 10 年前

3 条评论

pekk大约 10 年前
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 未加载
msoad大约 10 年前
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 未加载
DanWaterworth大约 10 年前
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.