9 Test-driven development
This chapter covers
- What test-driven development (TDD) is and how to apply it
- Reasons to adopt TDD
- How TDD fosters intrateam and extrateam collaboration
- Different approaches to applying TDD
- When to apply TDD and when not to
- How to create an adequate environment for TDD to succeed
- What behavior-driven development is, how it relates to TDD, and why to adopt it
Imagine that today is one of those days you woke up inspired to bake the best banoffee pies the east side of London has ever tasted. You’ve already bought all the biscuits, the bananas, tons of sugar, and the tastiest condensed milk one can find. Your industrial oven is preheated and ready for some serious baking.
After preparing quite a few pies, you put them ...
Get Testing JavaScript Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.