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: 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]
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2