In short, the test’s useful lifespan looks like this:作者: angelcc216 时间: 2006-1-10 12:41
When deciding whether to automate a test, you must estimate how many code changes it will survive. If the answer is "not many", the test had better be especially good at finding bugs.