Freigeben über


They're (gasp) Everywhere!

Recently I was shopping for music at a well-known online store. This store often suggests other albums related to the one you are browsing and offers you a package deal where if you purchase both the CD you are browsing and a related CD you receive a discount over purchasing both CDs individually.

At least, I always assumed I received a discount. The other day, however, the price for the package deal didn't seem all that different from the price for purchasing each of the CDs individually. I did the math - it was exactly the same price!

I wonder how many other times I've taken the package deal without paying attention the price. I wonder how many other people have done so. I wonder if the package deal ever is a discount. I wonder whether anyone at that online store would consider this a bug. (I could see the store doing this on purpose on the theory that people are likely to spend more money if they think they are getting a deal.)

Diligent Reader Akhilesh emailed me to relate a bug he found in a web mail client which Akhilesh tells me claims to be bug free:

  1. Log in to your web mail account.
  2. Click on the Settings link on the top-right.
  3. Click on the notifier link.
  4. A new page pops up with a scripting error.

Oops.

There is an internal website which forms one part of the reporting pipeline for the performance tests I run. When I add a new test case it pretends to allow me to specify the new test's ID. When I do so, however, I am told that "The test case ID '4324' must be a valid integer between 1 and 999,999,999". Umm....

Where there is software you will find bugs. Guaranteed. I can imagine an application which was built by a stellar team who spent huge amounts of time rooting out the very few defects they injected into it. (And probably missed their ship date by years...but I digress). I have yet to see or even hear of such an application.

Great Testers test everything they see, and they find bugs in everything they test. If you don't see all these bugs, or you would like to see more of them, you can certainly do so. Start by applying the Rule Of At Least Three: Pick something. Anything. A street lamp. A door. Your toaster oven. Your application. Your competitor's application. Think of at least three ways you could get that object to do something which you believe is unexpected. Once you have three things, keep going until you have ten. And then twenty. And then fifty.

If you get stuck, take a break and come back to it later. Discuss it with someone else. Browse the bug database for your application and use the bugs other people have logged as a springboard for brainstorming more possibilities. Push yourself farther than you think you can go. And again. And again. And again.

Even the most basic, simple object can have bugs. For example, how would you test a cup? Post your answers in the comments, or email them to me at michael dot j dot hunter at microsoft dot com.

Comments

  • Anonymous
    February 21, 2007
    The comment has been removed

  • Anonymous
    February 21, 2007
    I'd drop it.  That happens pretty often, and even though most cups will break, I want to know how it breaks. Does it shatter into tiny little pieces that are going to be difficult to clean, or does it break into nice large chunks?

  • Anonymous
    February 21, 2007
    The comment has been removed

  • Anonymous
    February 21, 2007
    Drink out of it. Duh. Check for comfort and whether it spills when you do so. Get people of different ages (and hence different size mouths) to do so. Am I posting too many comments yet?

  • Anonymous
    February 21, 2007
    Could you maybe elaborate on either the actual characteristics of the cup to be tested (i.e. fine china tea cup, coffee cup with logo, infant sippy cup etc) to allow an exploratory testing approach or give some idea of the requirements of the cup (i.e. cheap cup suitable for drinking a 16oz soda while in a car) for a more traditional approach to test case generation?

  • Anonymous
    February 21, 2007
    The comment has been removed

  • Anonymous
    February 21, 2007
    The comment has been removed

  • Anonymous
    February 21, 2007
    1.) label your cup as beta. 2.) invite 1m of your closest friends to use the cup for an indeterminate amount of time. ??? 4.) profit.

  • Anonymous
    February 21, 2007
    The comment has been removed

  • Anonymous
    February 22, 2007
    The comment has been removed

  • Anonymous
    February 24, 2007
    The comment has been removed

  • Anonymous
    February 24, 2007
    Ah, yes, package deals. The nearby grocery store (QFC/Kroger) always has tags with "deals": 5 for $10! 3 for $7! About 40% of people I asked think they need to buy the listed number of items to get the discount, so they will buy 5 of this, 3 of that. In reality, of course, the discount applies even if you buy a single item. I'll look into the cup tests when they go on sale (100 for $12!).

  • Anonymous
    February 28, 2007
    Great test ideas! See http://blogs.msdn.com/micahel/archive/2007/02/28/SignPlusCupEqualsTeachingMoment.aspx for my follow-up post.