Wednesday, March 16, 2005

First up today: Elisabeth Hendrickson discussing how in the world testing can survive in an Agile world. After all, Test traditionally uses all that time it takes Dev to give us something useful to write and review test plans, test specs, and test cases. Then, once we finally get our hands on the app, we feverishly run through all this as fast as we can in hopes of getting through all the really important test cases and finding most of the really nasty bugs before management decides the app is good enough to ship.

A tester on an agile team doesn't have time for all this. Dev is passing code off to Test on a daily if not hourly basis. What's more, testing can seem unnecessary when your developers are using test-driven development and routinely writing very comprehensive unit tests that come very close to 100% code coverage on even the hard-to-hit error handling code. What's a tester to do?

If your entire organization is willing to embrace agility and be responsible for quality, then you're in position to agilify your testing. Elisabeth summarizes this as transforming testing from being the last bulwark of defense protecting the user from those darned developers to supporting your team in producing a great product.

Elisabeth's session really spoke to me because while my team isn't officially agile we are trying to make exactly that change. While I was happy to find that we are already doing some of the things she suggested, I also came away with many great ideas. Highlights:

  • Design for maintainability. A lot of the work developers do is aimed towards making their code maintainable; testers should do the same. Don't Repeat Yourself. Use generic checklists (I call these Did I Remember To Lists) rather than cut-and-pasting these into each and every test case.
  • Keep your test documentation as simple as possible. Consider whether you really need three pages of detailed test steps describing every last detail or whether summarizing the actions to take would be sufficient.
  • Make testing part of daily life, not a separate phase that only certain people do.
  • Remember that it's a team, not just developers and testers sitting next to each other. Get them talking with each other and collaborating on everything from brainstorming test cases to writing test infrastructure.

If you:

  • Focus on providing value to key stakeholders
  • Shift from being the last line of defense to providing an information service
  • Aggressively reduce time and resources spent on anything that does not directly contribute to providing information
  • Collaborate with programmers to improve testability and leverage test automation efforts

your testing will be more agile.

Hmmmm...these sound like good ideas even if your team isn't agile!

9:43 AM

16 comments:

at 4:28 PM Rick Wayne said...

Bob Martin did a class on a little open-source acceptance-testing tool called fitNesse (http://fitnesse.org).

Actually the bulk of the class wasn't about the tool, it was about the motivation for an agile process, and the effect that has on QA.

Even if the developers are unit-testing the **** out of their code, you'll still have problems with integration, and the app still has to do what the end user wants, right? That's what acceptance tests are all about. With fitNesse, the business analysts and QA personnel drive the development process by specifying acceptance tests. (They don't write code, just an executable spec for what the code should do). This happens *right at the start* of the iteration, before developers have written any features!

So that's what the test team can be doing: writing the specs for the tests that drive the development. The developers write some (usually trivial) glue code, then write the app code that makes the test pass.

At the end of the iteration, QA can take the app out for a spin, including actually running its GUI (which the framework doesn't test), looking for those between-the-cracks gotchas.

Pretty cool idea. I'm taking it back with me to try at home.

rw

at 7:37 PM Anonymous said...

One good resource for zip code software and many more free software alternatives is Software4YourSuccess.com
Yes it is my site and I would love for you to drop by for a second. From there you will have free access to several of my products such as The Marketing Toolbar (which is goldmine of information on how to do things quickly and on the cheap, thus saving you time and money).
Also for webmasters I have created Webmaster Wizards, which will help you with almost every aspect of putting code on your site from things such as legal and privacy disclaimers to popunders. I have so much content and free software there I could fill up this whole blog, so check it out Thanks, Sincerely Rob Rudd

at 2:59 AM Anonymous said...

Now you could find Classes for a multitude of subjects on your area , like find graduation class and they could be found by visiting find graduation class

at 10:57 PM Anonymous said...

I discuss this topic daily myself. I also have a website that talks about small business tax resource related things. Go check it out if you get a chance.

at 6:07 AM Anonymous said...

Blast your Ad to 13,000+ Real Blog Sites!

at 8:44 PM George said...

business scheduling softwareThe Quick And Easy Way To Organize Your Lifebusiness scheduling software

at 7:01 PM Anonymous said...

New software automatically creates everything you need for your own highly lucrative list building Joint Venture.property management softwareproperty management software

at 12:29 AM Anonymous said...

This easy to use software will automatically monitor all your websites notifying you immediately of any problems.call center softwarecall center software

at 4:21 PM Anonymous said...

Cool blog. I think that Runescape is the best game on the internet. Here is a great site that will teach you how to make millions in the game of Runescape. Check it out at
Runescape Guide
.

at 2:46 AM free nokia software said...

I appreciate your blogs content. Gotta run.
free nokia software

at 2:29 PM Anonymous said...

ASDF is coming soon! Don't be left behind!

at 11:52 PM Scott A. Edwards said...

HEY LOOKY HERE!!! Rene Keiser signed up, and here's what happend..."This website is so viral - I received over one hundred sign-ups and my network is already 5 levels deep in less than 48 hours." ~ Rene Keiser. Learn more about it here: home business idea site. It pretty much covers home business idea related stuff and it is FREE to join.

at 5:07 AM Anonymous said...

Really great blog very informative re cellular chocolate phone. In a simliar vain to cellular chocolate phone, I would definitely recommend http://www.bargainplace.co.uk for **mobile phones** or **cheap broadband**. Also you can get **cheap gas & electricity**, **gifts for your loved one** and **loan deals, free phone calls with talktalk, free broadband with Sky and bargain electrical equipment**

at 5:02 AM Buy Levitra said...

Great article! Thanks.

at 10:44 AM Phentermine said...

Thanks for interesting article.

at 12:42 AM Anonimous said...

Excellent website. Good work. Very useful. I will bookmark!