Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
donkulator3116121dPurely psychological stuff, as opposed to practical things to make sure it doesn't break?
Not really.
Unless IIS is involved somehow, in which case I'll probably sacrifice a goat at a crossroads because I've tried everything else. -
tosensei8454121d@donkulator in case of IIS, just expect everything to fail in the most terrible way possible.
that way, you only get surprised negatively _sometimes_ -
typosaurus12232121dThat's where tests are for - peace of mind. Write those. Integration above unit
-
donkulator3116120d@retoor If all the tests are passing, that can only mean one thing: you've forgotten to write tests for all the stuff that's broken.
-
typosaurus12232119d@donkulator kinda yes - but you should also check with coverage if every line is hit after running tests. I recently had a coverage of 99.7% and that last not hit 0.3% was a bug indeed. Coverage is amazing stuff. So underrated. It's the only way to know if your tests have the right reach
Related Rants
do you do any rituals to make it psychologically easier to deploy your code into production / replace an existing working system?
question
production
deployment