Test-Driven JavaScript Development

Test-Driven JavaScript Development

by Christian Johansen

480 pages· 2010· ISBN 9780321684059
About
For JavaScript developers working on increasingly large and complex projects, effective automated testing is crucial to success. Test-Driven JavaScript Development is a complete, best-practice guide to agile JavaScript testing and quality assurance with the test-driven development (TDD) methodology. Leading agile JavaScript developer Christian Johansen covers all aspects of applying state-of-the-art automated testing in JavaScript environments, walking readers through the entire development lifecycle, from project launch to application deployment, and beyond. Using real-life examples driven by unit tests, Johansen shows how to use TDD to gain greater confidence in your code base, so you can fearlessly refactor and build more robust, maintainable, and reliable JavaScript code at lower cost. Throughout, he addresses crucial issues ranging from code design to performance optimization, offering realistic solutions for developers, QA specialists, and testers. Coverage includes • Understanding automated testing and TDD • Building effective automated testing workflows • Testing code for both browsers and servers (using Node.js) • Using TDD to build cleaner APIs, better modularized code, and more robust software • Writing testable code • Using test stubs and mocks to test units in isolation • Continuously improving code through refactoring • Walking through the construction and automated testing of fully functional software The accompanying Web site, tddjs.com, contains all of the book’s code listings and additional resources.

Discuss Test-Driven JavaScript Development with other readers

Join or start a book club for Test-Driven JavaScript Development on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Test-Driven JavaScript Development?

Sign up free on Readfeed, then browse public clubs or start your own club with Test-Driven JavaScript Development as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Test-Driven JavaScript Development with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Test-Driven JavaScript Development with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.