tech/webdev magazine

August 13, 2019

Write tests. Not too many. Mostly integration.

Tuesday, August 13, 2019 Teklinks

Yes, for most projects you should write automated tests. You should if you value your time anyway. Much better to catch a bug locally from the tests than getting a call at 2:00 in the morning and fix it then. Often I find myself saving time when I put time in to write tests. It may or may not take longer to implement what I'm building, but I (and others) will almost definitely save time maintaining it.

Full article