Improve your 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 a 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.
Marco Emrich