DEV Community

Discussion on: What are your tips and tricks for beginners writing tests?

Collapse
 
peterwitham profile image
Peter Witham

I would say start simple, create tests for the simple things that make sense and then slowly expand over time to more complicated testing.

Diving in too fast and trying to achieve too much too soon will probably leave you wondering 'why bother with tests' until you realize that as a program grows, tests help keep everything straight.