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



Bookstore > Books > Learning Behavior-driven Development with JavaScript

Price$49.99 - $62.01
Rating
AuthorEnrique Amodeo
PublisherPackt Publishing
Published2015
Pages392
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101784392642
ISBN-139781784392642
EBook Hardcover Paperback

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.




5 5 10

Similar Books


Type-Driven Development with Idris

Type-Driven Development with Idris

by Edwin Brady

Stop fighting type errors! Type-driven development is an approach to coding that embraces types as the foundation of your code - essentially as built-in documentation your compiler can use to check data relationships and other assumptions. With this approach, you can define specifications early in development and write code that's ea...

Price:  $40.27  |  Publisher:  Manning  |  Release:  2017

Model-Driven Development with Executable UML

Model-Driven Development with Executable UML

by Dragan Milicev

A comprehensive reference for an executable UML and the advantages of modeling This book presents the most up-to-date technology for rapidly developing information systems using the object-oriented paradigm and models, and establishes an executable profile of UML for such model-driven development. As a software developer, architect, or an...

Price:  $49.61  |  Publisher:  Wrox  |  Release:  2009

Learning Test-Driven Development

Learning Test-Driven Development

by Saleem Siddiqui

Your code is a testament to your skills as a developer. No matter what language you use, code should be clean, elegant, and uncluttered. By using test-driven development (TDD), you'll write code that's easy to understand, retains its elegance, and works for months, even years, to come. With this indispensable guide, you'll ...

Price:  $53.16  |  Publisher:  O'Reilly Media  |  Release:  2021

Test-Driven Infrastructure with Chef

Test-Driven Infrastructure with Chef

by Stephen Nelson-Smith

Test-Driven Infrastructure with Chef demonstrates a radical approach to developing web infrastructure that combines the powerful Chef configuration management framework with Cucumber, the leading Behavior-driven development (BDD) tool. Learn how to deliver real business value by developing infrastructure code test-first.Infrastructure con...

Price:  $25.26  |  Publisher:  O'Reilly Media  |  Release:  2011

Test-Driven Infrastructure with Chef, 2nd Edition

Test-Driven Infrastructure with Chef, 2nd Edition

by Stephen Nelson-Smith

Since Test-Driven Infrastructure with Chef first appeared in mid-2011, infrastructure testing has begun to flourish in the web ops world. In this revised and expanded edition, author Stephen Nelson-Smith brings you up to date on this rapidly evolving discipline, including the philosophy driving it and a growing array of tools. You'll...

Price:  $29.55  |  Publisher:  O'Reilly Media  |  Release:  2013

Real World Windows 8 App Development with JavaScript

Real World Windows 8 App Development with JavaScript

by Edward Moemeka, Elizabeth Moemeka

Real World Windows 8 App Development with JavaScript offers you practical advice and hard-earned insights that will help you create and publish apps to a worldwide market.Led by authors with deep Windows 8 app development experience, you'll learn how to make the most of Microsoft's APIs for hooking into Windows 8 on all devices,...

Price:  $5.01  |  Publisher:  Apress  |  Release:  2013

JavaScript Testing with Jasmine

JavaScript Testing with Jasmine

by Evan Hahn

Get a concise introduction to Jasmine, the popular behavior-driven testing framework for JavaScript. This practical guide shows you how to write unit tests with Jasmine that automatically check for bugs in your application. Learn how to write specifications for individual components, and then use those specs to test the code you write.Thr...

Price:  $9.22  |  Publisher:  O'Reilly Media  |  Release:  2013

Beginning iOS Application Development with HTML and JavaScript

Beginning iOS Application Development with HTML and JavaScript

by Richard Wagner

Beginning to intermediate web developers who want to apply their existing HTML/CSS/JS/Ajax skills to the wildly popular iPhone/iPad OS will love this book. In the highly successful Wrox Beginning format, it enables developers who know these core technologies to use what they already know and get up to speed quickly. It introduces iOS deve...

Price:  $22.95  |  Publisher:  Wiley  |  Release:  2012