I Know I Should Be Unit Testing but I Don't Know How or Where to Start
I’ve talked to many developers about why Unit Testing (as well as automated integration and acceptance testing) and why I think it should be something that is a natural part of development.
I usually get the a few similar responses from those who haven’t adopted this viewpoint.
- “I know I should be Unit Testing and that it can be helpful, but …”
- “I don’t have time to figure it out and it’s not built into the quote.”
- “I don’t know how or where to start.”
- “I’ve been successful for a lot of years, why change now?”
I hope to help you get started moving past not knowing how and where to start and make automated testing as normal to you as writing code.
We’ll quickly touch on some of the whys, inhibitors we all have and lessons I’ve learned in the last 12 years. Then we’ll talk about how to get started in small ways. By the end, I hope you’ll be ready to go back to your work/project and get some tests going.