DEV Community

Discussion on: Explain JavaScript unit testing like I’m five

chancedev profile image

Best high-level explanation yet. I've read a bunch about testing, but it all seems slightly a little too granular to make sense. This put the pieces together and really makes it easy to see what exactly the goal is of testing--when as a noob I think "Well I'll just run the application and see if anything is broken" hah


ccleary00 profile image
Corey Cleary Author

Thanks so much for your comment and glad to hear it was helpful. FWIW I didn't write a single unit test on the first major project I worked on until about 6 months... it's not something you really learn in school or even after. A lot of tutorials seem to gloss over it, so it can be hard to pick up sometimes!