You must log in or register to comment.
good Tester.
If something stupid can be done, it will be done.
I’ve seen this enough times that I laughed without watching it. Funny stuff.
This is why it’s important to have tests that assert a system’s failure modes too.
shouldFitTriangleInTriangleHole()
shouldNotFitTriangleInAnyOtherHoles()
Bonus points for just parameterizing it.
assert triangleObject.shouldFitInHole(triangleHole) == true assert triangleObject.shouldFitInHole(squareHole) == false
Anything can be a square hole if you’re brave enough.
If a function takes all types of variables it’s your own fault!
Poor development! If something can be done, people will do it.
Best way is to not allow it and provide no feedback.
Wait, provide no feedback?
Poor development! If something can be done, people will do it.
Best way is to not allow it and provide no feedback.