Learning Behavior-driven Development with JavaScript.

Saved in:
Bibliographic Details
Author / Creator:Amodeo, Enrique.
Imprint:Packt Publishing, 2015.
Description:1 online resource
Language:English
Series:Community Experience Distilled
Community experience distilled.
Subject:
Format: E-Resource Book
URL for this record:http://pi.lib.uchicago.edu/1001/cat/bib/11907171
Hidden Bibliographic Details
ISBN:133601248X
9781336012486
9781784390174
1784390178
9781784392642
1784392642
Digital file characteristics:text file
Notes:Print version record.
Summary: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.
Other form:Print version: Amodeo, Enrique. Learning behavior-driven development with javascript : create powerful yet simple-to-code BDD test suites in JavaScript using the most popular tools in the community. Birmingham, England : Packt Publishing Ltd, ©2015 v, 373 pages Community experience distilled. 9781784392642
Description
Summary:This 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.
Physical Description:1 online resource
ISBN:133601248X
9781336012486
9781784390174
1784390178
9781784392642
1784392642