Re:It's OK Not to Write Unit Tests
by regularfry on Tuesday May 25, 2010 @07:27AM
(#1377082)
"Many of them will not even survive the process at all."
That's the point, and I think everything else in this article stems from it. Unit tests are supposed to be transient; you're supposed to be able to just ditch them and replace them when you ditch and replace the code they're testing.
Functional tests, on the other hand, should be longer-lived.
That's the point, and I think everything else in this article stems from it. Unit tests are supposed to be transient; you're supposed to be able to just ditch them and replace them when you ditch and replace the code they're testing.
Functional tests, on the other hand, should be longer-lived.