DEV Community


Discussion on: Tried TDD and didn't realize the benefits? Try it the next time you get writer's block

nickyhajal profile image
Nicky Hajal

Really love the concept of using tests as a form of todo-list and as simply a way to think through/outline code in early phases.

As I mentioned in another comment, what sometimes holds me back is general setup required for testing, fake data, mocks, etc.

There's a lot of info on testing, but IMO not much on every day, practical testing practices that breaks down typical patterns and gotchas. Would definitely love more on that topic!

ccleary00 profile image
Corey Cleary Author

"using tests as a form of todo-list" -> this is a perfect way of describing it

And I definitely hear you on there not being much content out there on real-world unit testing. When I first started learning testing this was a huge barrier for me.

I've got a whole backlog of posts I'm planning to write that attempt to target exactly the pain you described - lack of practical testing examples. It's a pain I've seen so many people have that hopefully I can help make it easier and less painful. I've got a few I've already written posted here and the future ones I'll post on my blog and here on as well!