top | item 44421648

(no title)

mailund | 8 months ago

> “The amount has been multiplied by 100, instead of being divided by 100.”

I'm very interested to know if there is any coverage of automated tests at all for this system? This seems like the kind of mistake that would be picked up immediately with a bare minimum test suite.

discuss

order

dagw|8 months ago

The error wasn't made in any of the 'important' paths that dealt with real winnings or real money (which I assume are heavily tested) but 'only' on the notification on the mobile app. Apparently if you logged into your account on their website you would see the correct amount. So I'm guessing the bug in this case might have been something as simple as typo in a string formatting template, that wasn't tested.

martinald|8 months ago

Somewhat sarcastically, I could see this being TDD, with a typo in the test for this :).

konsalexee|8 months ago

Definition of testing straight into the production, "what could go wrong"

Toritori12|8 months ago

Also many life-changing amounts in the same batch should prob trigger some alarms.