Skip to main content

Automated Functional Testing Article

It looks like Mr. Sutherland's article on functional testing vs. unit testing has been around for a while, but I just came across it via Hacker News.

Benefits of automated functional testing

My experience with unit tests has been largely ad-hoc, for example when I'm working with a bug-prone chunk of code. I've never been part of a large system with solid unit test coverage or worked in a TDD environment. That being said, I agree with the general premise of Tim's message. As the release manager (by default) on a fairly complex java system, having a number of solid automated functional tests was very valuable to prevent a lot of wasted testing time during busy release weekends. The ROI of creating and maintaining a large set of unit tests seems to be much less.

Comments

Matthew said…
I disagree - my friend makes an excellent point here by making an analogy to real-world practically. http://app.arat.us/blog/?p=159

Unit and functional tests both are critical to a robust testing strategy.

We have been practicing TDD now for a bit in our development and it REALLY speeds things up and really helps keep design concrete.

Popular posts from this blog

Web advertising on coding horror

This post from Jeff Atwood last week is a humorous example of how quickly web advertising can deteriorate to appeal to the lowest-common denominator. http://www.codinghorror.com/blog/archives/001286.html It would be great if services like Yahoo! Mail would allow me to select the advertisers I'll allow, or specifically block some. Of course, I don't want to pay for this feature.

Makers vs Managers - Paul Graham nails it

Paul Graham's latest post about the differences in schedules for makers and managers is a must read for anyone managing software developers, and possibly more important if you're married to one. It struck a chord with me since I was having a highly productive week at work with no scheduled meetings until yesterday afternoon. http://www.paulgraham.com/makersschedule.html As a developer that worked in management for a few years, its difficult to remember the importance of this concept once you've made the transition. It begins to seem like anyone can afford an hour here or there for a meeting.