WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2025 Poal.co

906

Orders a beer. Quickly orders a second beer before the first is served. Orders 0 beers. Orders 999999 beers. Orders a lizard. Orders -1 beers. Orders a dsfsdfsd. Orders a DROP TABLE.

The bar's first real customer walks in...  asks where the bathroom is. The bar bursts into flames killing everyone.

Orders a beer. Quickly orders a second beer before the first is served. Orders 0 beers. Orders 999999 beers. Orders a lizard. Orders -1 beers. Orders a dsfsdfsd. Orders a DROP TABLE. The bar's first real customer walks in...  asks where the bathroom is. The bar bursts into flames killing everyone.

(post is archived)

[–] 1 pt 4y (edited 4y)

Funny joke... All too familiar. Summary, when testing code you need to test sample scenarios for all valid AND invalid scenarios, to see that you get the expected results. Ordering a lizard would obviously be an invalid response but it should not break the program.