Jump to content
Also, since I fell in love with Mocha and BDD testing a few months ago, I’ve made it part of my process, often writing my tests before the implementation so I can limit myself to expected results and possible edge cases. I write code defensively as a rule, and Mocha has only helped that. Although, this could all be obsessive on my part, as I’m not even building major web apps yet.
Sitll, it can’t hurt to prepare for future challenges now.