ShopSpell

Learning Behavior-Driven Development With Javascript [Paperback]

$61.99       (Free Shipping)
100 available
  • Category: Books (Computers)
  • Author:  Enrique Amodeo
  • Author:  Enrique Amodeo
  • ISBN-10:  1784392642
  • ISBN-10:  1784392642
  • ISBN-13:  9781784392642
  • ISBN-13:  9781784392642
  • Publisher:  Packt Publishing - ebooks Account
  • Publisher:  Packt Publishing - ebooks Account
  • Pages:  345
  • Pages:  345
  • Binding:  Paperback
  • Binding:  Paperback
  • Pub Date:  01-Mar-2015
  • Pub Date:  01-Mar-2015
  • SKU:  1784392642-11-MPOD
  • SKU:  1784392642-11-MPOD
  • Item ID: 100219569
  • Seller: ShopSpell
  • Ships in: 2 business days
  • Transit time: Up to 5 business days
  • Delivery by: Dec 26 to Dec 28
  • Notes: Brand New Book. Order Now.

Create powerful yet simple-to-code BDD test suites in JavaScript using the most popular tools in the community

About This Book

  • Master the most popular testing tools in the JavaScript ecosystem, such as CucumberJS, Mocha, SinonJS, and more.
  • Learn how Behavior-driven development can help you to write software that is more modular and has less defects.
  • Avoid common mistakes in testing, simplify your test suites, and make them more maintainable using a very pragmatic approach to BDD.

Who This Book Is For

TThis book is ideal for any JavaScript developer who is interested in producing well-tested code. If you have no prior experience with testing, Node.js, or any other tool, do not worry, as they will be explained from scratch.

In Detail

JavaScript is not only widely used to create attractive user interfaces for the Web, but with the advent of Node.js, it is also becoming a very popular and powerful language to write server-side applications. Using behavior-driven development and some common testing patterns and best practices, you will be able to avoid these traps.

This book will show you how to do BDD in a practical way. We will start with a basic introduction of what BDD is and why the classical approach to testing has failed. Afterwards, we will dive directly into an introduction to Node.js, Mocha, and Sinon.JS. Finally, we will cover more advanced subjects such as how to write a fast and effective test suite for a RESTful web API, and how to do the same with a rich UI using Cucumber.js and Protractor.

This book will give you great insight into how to architect your system to make it more testable and modular, but at the same time avoid the nightmare of abusing mock objects.

Add Review