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.

Software Test Desiderata

61 pointsby KentBeckover 5 years ago

4 comments

sideshowmelover 5 years ago
Max Ehrmann reference:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Desiderata" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Desiderata</a>
评论 #21318887 未加载
评论 #21309300 未加载
keithnzover 5 years ago
Surprising his tweet blew up, one of the goals of tests (TDD) is to validate your software still works after refactoring. This is a key element of being able to change your code quickly and with confidence. Meaning if you couple your tests to the structure of your code, then it&#x27;s not going to be quick when you restructure.
mpnordlandover 5 years ago
I&#x27;m the only developer on my team concerned about writing tests. I don&#x27;t have a lot of experience doing it, and I have no one who can review my tests. Is there anything I can do?
评论 #21309514 未加载
评论 #21308792 未加载
kissgyorgyover 5 years ago
I have been a big advocate for testing only the public interface of your code, but sometimes you can&#x27;t just avoid it, when you have a really complex piece of function, you got to test it to gain confidence. Other than that, I hope these are not a surprise for anybody who is writing tests on a daily basis.
评论 #21310714 未加载
评论 #21318956 未加载