QA Engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 999999999 beers. Orders a lizard. Orders -1 beers. Orders a sfdeljknesv.
— Bill Sempf (@sempf) September 23, 2014
I had a good laugh over this tweet yesterday when I read
-1 beers. After all, who the hell orders negative beers?
But as I thought more about the tweet, it struck a chord with me.
While the tweet was meant as a joke, it pointed out the fact that we, as developers, have to ruthlessly test our software and assume that users:
- Have no idea how to use our software
- Are intentionally trying to melt our servers
Example: Uploading 1700+ Images at Once
As a developer, I would seriously doubt that anyone would ever want to upload 1700+ images at once through a web interface.
But, as a user, I found myself doing exactly that today after I found out that cloud drive has unlimited free photo storage for prime users!
For me, this Tweet served as a reminder that I should test my code not only how it should be used, but how it might be used.