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

Cosmic Chickpea & Beef Fiesta Skillet

This is just a little recipe that Grok (x.com) whipped up for me. I asked Grok for a Tex-Mex inspired recipe with ground beef and aligned with a Mediterranean diet. I was completely surprised when I asked for the source website and it said it had created the recipe! This is a revised version with chickpeas instead of quinoa (apparently my family hates quinoa) and with an unhinged, Blue Origin flare added by Grok due to a previous conversation! Cosmic Chickpea & Beef Fiesta Skillet Blast your dinner into another dimension with this Mediterranean-Tex-Mex mashup that’s got more swagger than an all-female space crew! Juicy beef, sassy chickpeas, and veggies that pop like a supernova, all drenched in spices that scream “I AIN’T HERE TO PLAY!” Perfect for when you wanna flex on your kitchen game and make your haters eat stardust. Ready in 35 minutes—faster than a Blue Origin rocket ride! Servings: 4-6 (feeds your squad or leaves epic leftovers) Prep Time: 10 minutes (chop like you’re...

Domain-Specific Language References

I've been meaning to read up on DSL implementation approaches, possibly for use in a thesis project. This is my initial list of references to review. Martin Fowler's online book (work-in-progress) Software Language Engineering: Creating Domain-Specific Languages Using Metamodels by Anneke Kleppe , pub 12/8/09 (available in Safari Books Online) Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit by Richard C. Gronback, pub 3/6/09 (available in Safari Books Online, looks Java heavy) Domain-Specific Development with Visual Studio DSL Tools by Steve Cook; Gareth Jones; Stuart Kent; Alan Cameron Wills , pub 5/24/07 (Safari books online)

Turbogears and mod_wsgi setup

This doesn't make for the most entertaining reading, but I've decided to use this blog as my long-term memory for reference material. Currently, I'm getting started on my first python Turbogears 2.0 application, and I need to setup apache with mod_wsgi. These are the references I've accumulated. A good follow-up article would discuss issues I ran into. We'll see how motivated I am. Perplexed labs instructions for setup to support django (Wow, this step was much harder than it should have been. I have a better understanding of our apache infrastructure now though.) Turbogears documentation on apache deployment mod_wsgi quick install guide mod_wsgi integration with pylons (Turbogears controller framework) mod_wsgi using virtualenv Turbogears tutorial on mod_wsgi+virtualenv+modwsgideploy