JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development

JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development

by Evan Hahn

52 pages· 2013· ISBN 9781449356378

Browse books you can read free on Readfeed

No club is reading this yet — be the first to start one

1 reader has this book on their Readfeed shelves

Start a club free
About
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.

Throughout the book, author Evan Hahn focuses primarily on methods for testing browser-based JavaScript applications, but you’ll also discover how to use Jasmine with CoffeeScript, Node.js, Ruby on Rails, and Ruby without Rails. You won’t find a more in-depth source for Jasmine anywhere.


Get an overview of both test-driven and behavior-driven development
Write useful specs by determining what you need to test—and what you don’t
Test the behavior of new and existing code against the specs you create
Apply Jasmine matchers and discover how to build your own
Organize code suites into groups and subgroups as your code becomes more complex
Use a Jasmine spy in place of a function or an object—and learn why it’s valuable

Discuss JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development with other readers

Join or start a book club for JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development?

Sign up free on Readfeed, then browse public clubs or start your own club with JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.