Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $12.99
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
2Activity
P. 1
JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development

JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development

Ratings:

3.0

(1)
|Views: 209 |Likes:

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.

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

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.

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

More info:

Publish date: Mar 25, 2013
Added to Scribd: Mar 26, 2013
Copyright:Traditional Copyright: All rights reservedISBN:9781449356767
List Price: $12.99 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
See more
See less

07/31/2014

51

9781449356767

$12.99

USD

pdf

You're Reading a Free Preview
Pages 4 to 35 are not shown in this preview.
You're Reading a Free Preview
Pages 39 to 40 are not shown in this preview.
You're Reading a Free Preview
Pages 44 to 51 are not shown in this preview.

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->