Stories
Slash Boxes
Comments

SoylentNews is people

posted by on Saturday January 21 2017, @02:53PM   Printer-friendly
from the stop-me-if-you've-heard-this-one dept.

[Note: The story is dated September 2014, but I just stumbled upon it and think the subject matter is interesting enough that others in the community might find it both enlightening and entertaining. Also, the site had been under attack, per conversations with the author; if the link fails, then use this web archive link to 'On Testing'. --martyb]

Bill Sempf posted a humorous take On Testing which started with a tweet:

QA Engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 999999999 beers. Orders a lizard. Orders -1 beers. Orders a sfdeljknesv.

He continues:

This is 'edge case' testing; posting values to a system that really don't belong there. It came to mind because of a problem I had encountered in a system I was working on earlier.

[...] As it turns out, there are a lot of people who are all about this. The replies to my tweet over the last 24 hours covered a lot of ground, but by far were those that wanted to push the edge testing to the max - and I love it.

The posting gathers a quite remarkable set of tests submitted in response. The whole story is well worth reading, but among the notables there were:

Ah yes, the Edge Case Saloon. A fine establishment.

Orders a gimlet. Orders a gauntlet. Orders the 80s arcade game Gauntlet. Orders 4 beers. Orders 3 friends to come over for some fun.

Unhooks the tap and orders a beer. Breaks all the glassware and orders a beer. Sets the bar on fire and orders a beer.

Walks into the bar backwards. Runs into the bar. Sits at the bar overnight doing nothing to see what happens. Tries to sell a beer.

Quickly orders a second beer before the first is served.

[Continues...]

Orders two Orders betwoers asynchronousbeersly. asynchronously.

[...] Drunken, sweating, he wipes the suds from his lips. "I should have automated that."

Automates the ordering of beer. Does a UI test, gets a hangover. Does regression test the next day.

[...] orders 1 ; select * from liquors; — beers.

[...] Qa neglected null test case due to time constraints issued by PM. Qa downsized after poor release they refused to sign off on.

Heartbleed walks into a bar. Says "Give me a beer" but holds up two fingers. The bartender tells his life story.


Original Submission

This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 5, Interesting) by linkdude64 on Saturday January 21 2017, @03:01PM

    by linkdude64 (5482) on Saturday January 21 2017, @03:01PM (#456982)

    Since I can't mod up a story...

    • (Score: 5, Funny) by SomeGuy on Saturday January 21 2017, @06:51PM

      by SomeGuy (5632) on Saturday January 21 2017, @06:51PM (#457044)

      Mod story +4294967295 funny. Just to see if anything breaks. '); drop table users;

  • (Score: 4, Funny) by Anonymous Coward on Saturday January 21 2017, @03:29PM

    by Anonymous Coward on Saturday January 21 2017, @03:29PM (#456984)

    Beer pours out only when you are not there, they keep telling me, but no beer when I pull it.

  • (Score: 3, Interesting) by Justin Case on Saturday January 21 2017, @03:52PM

    by Justin Case (4239) on Saturday January 21 2017, @03:52PM (#456993) Journal

    My friend wants a beer. He'll pay for it when he gets here. Can I have it now?

    Congratulations, you (total stranger) won the free as in beer contest! Here's your coupon, open it and print it out!

    Hey everybody in the world, Joe's Bar is having a free beer tasting. Let's all go there right now.

    Yes, I'd like two beers, and my change back from this trillion-dollar bill, thank you.

    Hey! You don't have any ADA-accessible parking so I can drive home drunk like everyone else!

    I brought my own mug. It isn't made of glass, like a Window, nor of fabulum, like Mac has over there. What do you mean you don't serve my kind here?

  • (Score: 3, Insightful) by The Mighty Buzzard on Saturday January 21 2017, @04:17PM

    by The Mighty Buzzard (18) Subscriber Badge <themightybuzzard@proton.me> on Saturday January 21 2017, @04:17PM (#457000) Homepage Journal

    Guy walks into a bar. Orders a ☕.

    --
    My rights don't end where your fear begins.
  • (Score: 4, Insightful) by black6host on Saturday January 21 2017, @04:38PM

    by black6host (3827) on Saturday January 21 2017, @04:38PM (#457008) Journal

    When leading a really good development team at one of my jobs edge testing was one of the things I banged a drum on all the time. During code review I could always break their code. 9 out of 10 times it was with an edge case. I just have a twisted mind and can think like an end user :)

    As far as I was concerned there was absolutely nothing that an end user should be able to do to crash the program, destroy data integrity, etc. If they could then *we* weren't doing our jobs.

  • (Score: 2) by pkrasimirov on Saturday January 21 2017, @05:31PM

    by pkrasimirov (3358) Subscriber Badge on Saturday January 21 2017, @05:31PM (#457022)

    A Chaos Monkey walks into a bar...

  • (Score: 2) by opinionated_science on Saturday January 21 2017, @06:36PM

    by opinionated_science (4031) on Saturday January 21 2017, @06:36PM (#457039)

    I will not accept any beer order that has not undergone D5-multiplication...

  • (Score: 0) by Anonymous Coward on Saturday January 21 2017, @09:40PM

    by Anonymous Coward on Saturday January 21 2017, @09:40PM (#457102)

    That fucked up every car he worked on as a mechanic, he went to work as a QA inspector for McDonnell Douglas. I stopped flying after that.

  • (Score: 2) by MichaelDavidCrawford on Saturday January 21 2017, @11:19PM

    by MichaelDavidCrawford (2339) Subscriber Badge <mdcrawford@gmail.com> on Saturday January 21 2017, @11:19PM (#457139) Homepage Journal

    a while back I discovered that I could panic the Mac OS X kernel with a simple shell script that called kextload and kextunload over and over again. Apple didn't say what the problem was, but I figure the panic was due to unloading a kernel extension before it was completely loaded.

    They fixed it promptly.

    --
    Yes I Have No Bananas. [gofundme.com]
  • (Score: 5, Funny) by theluggage on Sunday January 22 2017, @12:26AM

    by theluggage (1797) on Sunday January 22 2017, @12:26AM (#457175)

    A QA Engineer from a test-driven development team walks into a bar.

    Tests the alcohol content and temperature of the beer, checks that the beer starts flowing when the tap is turned on and stops when it is turned off. Counts the glasses on the shelf and performs a series of test transactions on the till. Observes that the beer mats are the correct way up. Confirms the alignment of the bar stools, and so on until he has performed all of the pre-agreed tests on his list. Stamps "PASS" on the form and walks out.

    Next customer walks into the bar, orders a beer, takes a sip, and discovers that it is fucking Budweiser!

  • (Score: 2) by Fishscene on Sunday January 22 2017, @02:39AM

    by Fishscene (4361) on Sunday January 22 2017, @02:39AM (#457227)

    QA Engineer walks into a beer and orders a bar.

    --
    I know I am not God, because every time I pray to Him, it's because I'm not perfect and thankful for what He's done.