DEV Community

Cover image for Writing Tests
danielarmbruster0314
danielarmbruster0314

Posted on

Writing Tests

I have been spending some time looking around on the forums and have found that a lot of people talk about learning to implement creating tests for their code as one of the things they whish they started learning sooner. I am still fairly new to programming and a majority of the time naively just look for the code to have the outcome I'm looking for without testing. Although that's definitely not best practice and was wondering if anybody had any resources or tips on how to learn and improve writing tests for your code.

Top comments (1)

Collapse
 
jonrandy profile image
Jon Randy ๐ŸŽ–๏ธ

It's not 100% necessary. I've been writing code for 38 years (26 professionally), and have written automated tests extremely rarely.