Improve you productivity with Behaviour Driven Development
Test Driven Development (TDD) has become a cornerstone of modern software craftsmanship. Behaviour Driven Development (BDD) takes it to the next level; it provides easier to use and more readable syntax as well as many other improvements. If you haven't used Test Driven Development before, start with BDD, you will reap the benefits much faster.
This book is a hands-on introduction on BDD. Using Jasmine, a BDD framework for JavaScript, you will learn step-by-step how to write maintainable specifications. You will see how to embed BDD in your daily coding and learn its do's and don'ts. When reading this book you will:
- Apply modern JavaScript techniques such as function expressions and ECMA5-object handling. - Learn the mechanics and the process of BDD. - Write specs with the popular Jasmine framework. - Use specs as living documentation. - Create data with Example Factories. - Organize your specs in various ways, depending on the situation. - Use expectations and code custom matchers. - Drive new features from the outside in. - Isolate your specs with mock objects and methods.
Really good introduction to BDD and its application to JavaScript development. As noted by other reviewers here at GoodReads.com, this book is strong at getting to the fundamentals of BDD, the why's and how's, providing both a theoretical background and many practical examples. This is NOT a language or technical reference, although it does indeed get into technical details. It is more of a gentle (and surprisingly entertaining!) ride into a very interesting and potentially rewarding way of approaching software design and development.
I like it because it adds value beyond what all the reference books out there offers, which typically contains information more easily found on the web. This book explains things in a broader sense focusing on the practical use and common complexities. Which for me is immensely useful.