5 ms·
Ask HN: Do you unit test?
- bveedu 14y agoNo most of the times especially if I have a UI. I am very lazy first of all like majority of programmers. Secondly I hate writing code for tests for web applications when we can directly test it from the UI. Third maintaining tests is a nightmare and will eat up more time than developing .
- jheriko 14y agoyes. it is good. although not religiously... often its a great strategy for fixing a bug and making sure it never rears its ugly head again... sometimes making the test is too difficult - to the point where test driven development is ruled out, even from the beginning (e.g. real-time interactive game type things) :)