Testing for Brown M&Ms

One thing I’ve learned in my testing career is that where there are bugs, there are more bugs. Some of my colleague Nachi’s research shows that components with a high number of pre-release bugs has a corresponding share of the post-release bugs. The heuristic works well on a smaller scale too – if I find annoyances or other slop 10 minutes into a testing session, odds are that there are many, many more bugs in the feature.

This post by Ajay demonstrates a good example of “slop”. There are certain things anyone designing a kiosk application should do to ensure that the application remains in kiosk mode (sidenote: as a tester, I love kiosk machines because they’re a great target to demonstrate testing ideas). When I see flaws like this, I know there are more – perhaps dozens or even hundreds of other flaws in the application, and I wonder how many of those flaws are exploitable for more serious damage.

And now, as I read the comments, I see that JB said basically the same thing in the first comment.

And then I was reminded of this article I read last week about business advice from Van Halen. Van Halen were famous for the rider in their contract stating that they should have a bowl of M&Ms with all of the brown candies removed. It seems like an arrogant rock star tactic, but there was something significant in the request.David Lee Roth knew that if the M&M request wasn’t handled correctly that there were likely other problems in the venue adhering to the contract. Brown M&Ms in the bowl indicated that a deeper look at the logistics of the event were in order.

In other words, Roth was no diva. He was an operations expert. He couldn’t spend hours every night checking the amperage of each socket. He needed a way to assess quickly whether the stagehands at each venue were paying attention — whether they had read every word of the contract and taken it seriously. In Roth’s world, a brown M&M was the canary in the coal mine.

I’m sure there are hundreds of examples of the “brown M&M heuristic” – now I just have to see if I can remember to call it that.

 

*I have no idea why I decided to use the word “slop” today to describe annoying behavior, so don’t ask.

Similar Posts

  • Why bugs don’t get fixed

    I’ve run into more and more people lately who are astounded that software ships with known bugs. I’m frightened that many of these people are software testers and should know better. First, read this “old” (but good) article from Eric Sink. I doubt I have much to add, but I’ll try. Many bugs aren’t worth…

  • The Easy Part

    Recently, I was helping another part of the team with a project. Or at least it ended up that way. There’s a particular bit of what they’re doing where I have some expertise, so I volunteered to take care of a chunk of the work where I thought I could help out. One thing I’ve…

  • Musings on Test Design

    The wikipedia entry on test automation troubles me. It says: Commonly, test automation involves automating a manual process already in place that uses a formalized testing process. I can’t decide whether it bothers me because it’s wrong, or because so many people believe the statement is true. In fact, I know the approach in some…

  • Five for Friday – November 18, 2022

    Time is a blur. I know today is Friday, because todoist reminded me to post a FfF post – something I recently realized I’ve done for over 5 years now. That’s like….math…a bunch of links. Hopefully you found a few of these helpful, interesting, or worth reading. Here’s this week’s batch. That’s all for this…

  • Five for Friday – February 12, 2021

    Another week whirled by – here’s some stuff I found worth sharing. I polished off another fiction book last week – this time it was Dark Matter by Blake Crouch. It’s a quick and fun read – not 5-stars good, but definitely interesting enough to recommend. Someone on the ABTesting slack pointed me to rephonic.com,…

3 Comments

  1. Ha – the very first presentation I did at my current company was all about Van Halen and brown M&M’s and people still remember it. Good to see it is still going

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.