a bit of a rant about that one project Show more
my goodness these unittests were/are a mess. most of them didn't do any actual testing, they just made sure things didn't raise an exception
which is fine for some things but not say, i dunno, serialisation code where a mistake could (and does) cause data loss for your users!
oh and mocking the wrong objects so tests look like they do something useful but still pass if you try to break them on purpose
and this fucker writes programming books now!
i guess the old saying is true:
those who can't, teach
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!