When a Bug is Found

When a Bug is Found

by blamoreaux 15. August 2007 09:09

James Shore talks about the concept of being bug free and has many recommendations on how to reach that goal. At my desk I have the following guide hanging on the wall to help me in my quest.

First:

  • Create a Test to Prove it:
  • Fix it:

You've fixed the problem, but you haven't solved the underlying cause.

Discover why that bug occurred.

  • Discuss the code process with your pairing partner.
  • Is there a design flaw that made this bug possible?
  • Can you change an API to make such bugs more obvious?
  • Is there some way to refactor the code that would make this kind of bug less likely?
  • Improve your design.

If you've identified a systemic problem, discuss it with the rest of you team in you next meeting or iteration retrospective.

Tell people what went wrong so they can avoid that mistake in the future.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag




Live preview

November 20. 2008 00:58

Gravatar

Powered by BlogEngine.NET 1.1.0.7
Theme by Mads Kristensen

Subscribe

About the author

Brig Lamoraeux Brig Lamoreaux
I'm a .Net developer.

E-mail me Send mail

Calendar

<<  November 2008  >>
MoTuWeThFrSaSu
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

View posts in large calendar

Pages

Recent posts

Recent comments

Tags

Categories


Archive

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2006-2008

Sign in