Jump to ratings and reviews
Rate this book

JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development

Rate this book
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. If you have JavaScript experience―with knowledge of some advanced features―you’ll 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.

52 pages, Paperback

First published January 1, 2013

6 people are currently reading
64 people want to read

About the author

Evan Hahn

4 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
9 (11%)
4 stars
21 (27%)
3 stars
38 (50%)
2 stars
6 (7%)
1 star
2 (2%)
Displaying 1 - 8 of 8 reviews
Profile Image for Anthony Alvarez.
5 reviews1 follower
December 24, 2018
A great start to the topic of JavaScript testing. Very concise and easy to read. Only 40 pages long.
Profile Image for Colle Owino.
82 reviews24 followers
October 13, 2019
Direct and to the point. I enjoyed reading this one. I would have loved if the a few more examples were included. Overall I would recommend this book to anyone who is starting out with Jasmine
Profile Image for Daniel Aguilar.
121 reviews32 followers
April 17, 2015
It's OK as a quick and shallow introduction to, or reminder of, Jasmine in particular, not really about TDD/BDD. It has some typos and obscure sections (I found the one on Spies quite convoluted), and doesn't really provide a good baseline on the subject, but as said, as a simple reference it works fine and gets read in a single sitting.
Profile Image for Katherine.
149 reviews
August 26, 2013
I read this because of my current task. It is a short version of a documentation. In a way, the fact that it is short makes it great but then I did not get the absolute basic introduction I need to learn about testing with fixtures.
Profile Image for Daniel Brubeck.
15 reviews
September 18, 2015
I liked this book, it´s very concise and all the topics are explained very well; I would recommend this book for people that already knows about TDD and just need the concepts from Jasmine. I just think that it would had be nice if the author gave more examples on the spies and asynchronous types.
Profile Image for Aelena.
65 reviews18 followers
September 29, 2015
just a longish tutorial, basically, or a PDF version of online reference. useful enough for exactly those purposes of reference. end of the book really rushes through more complicated scenarios.
29 reviews
January 25, 2016
This is just an introduction. You will not get more information than what is readily available on the Jasmine web site or on other tutorial sites.

Displaying 1 - 8 of 8 reviews

Can't find what you're looking for?

Get help and learn more about the design.