DEV Community

Cover image for It's Important To Test Your Code

It's Important To Test Your Code

Milecia on February 07, 2019

Sometimes we as developers miss the most obvious errors. Sometimes we know about them and say "we'll come back to it". Then it's time to deploy the...
Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

I've been a professional developer for almost 25 years, and have never used anything other than manual testing on any project - be they small or large

Collapse
 
vberlier profile image
Valentin Berlier

Hmm... 🤔

Collapse
 
svinci profile image
Sebastian G. Vinci

Sadly, I can only give you one like.

Collapse
 
klanmiko profile image
Kaelan Mikowicz

Hmmmmmmmm

Collapse
 
klanmiko profile image
Kaelan Mikowicz

Race conditions only show up in production.

Collapse
 
alexruzenhack profile image
Alex Ruzenhack

But you can simulate it on a test.

Collapse
 
edmar profile image
Edmar S. Gonçalves

One other huge benefit for tests, and perhaps the biggest for me, is that it catches regressions before new changes are deployed.

Collapse
 
hpj1992 profile image
Harshit

Could not agree more.

If you do not test it, it will not work.

Collapse
 
hpj1992 profile image
Harshit

"Widely used" != Bug Free & Extensible

Collapse
 
alexruzenhack profile image
Alex Ruzenhack

Ofcourse it works. Begining the habit to write tests will teach this skill "think carefully what can go wrong". No one born with this skill even Donald Knuth.