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
Generalistic and moderated instance. All opinions are welcome, but hate speeches are prohibited. Users who don't respect rules will be silenced or suspended, depending on the violation severity.