DEV Community

Discussion on: Do you apply testing in your side projects?

Collapse
 
craser profile image
Chris Raser

Yep. I do. But I don't always test the same way. Sometimes I just build a few end-to-end tests to cover the big stuff. Sometimes I build little unit tests to cover edge cases in core code. (I'm not a purist about dividing unit/integration/functional/etc testing.)

The best article I've seen lately on the how & why of testing is Sarah Mei's note on Five Factor Testing. The nutshell is that goals matter. There is no One True Testing Methodology.

My advice: side projects are a chance to learn. Why not use them to learn about testing?

Collapse
 
across_the_grid profile image
Nicho • Edited

Thank you, Chris! Sarah's article was very useful, thanks for sharing it!! 👍

My advice: side projects are a chance to learn. Why not use them to learn about testing?

You are absolutely right, I will keep the 5 factors in my mind when I apply testing in my next side project.