DEV Community

Discussion on: How did that weird bug come in the code

Collapse
 
adityasridhar profile image
Aditya Sridhar

yup. Unit tests can catch bugs instantly in case the code is broken. This way a lot of bugs do not end up in production