JavaScript Testing with Jasmine

JavaScript Behavior-Driven Development

Nonfiction, Computers, Programming, Programming Languages, CGI, JavaScript, Perl, VBScript, Internet, Web Development
Cover of the book JavaScript Testing with Jasmine by Evan Hahn, O'Reilly Media
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Evan Hahn ISBN: 9781449356750
Publisher: O'Reilly Media Publication: March 25, 2013
Imprint: O'Reilly Media Language: English
Author: Evan Hahn
ISBN: 9781449356750
Publisher: O'Reilly Media
Publication: March 25, 2013
Imprint: O'Reilly Media
Language: English

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
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

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.

More books from O'Reilly Media

Cover of the book Ajax on Rails by Evan Hahn
Cover of the book UX for Beginners by Evan Hahn
Cover of the book Applied Akka Patterns by Evan Hahn
Cover of the book Office 2011 for Macintosh: The Missing Manual by Evan Hahn
Cover of the book 60 Recipes for Apache CloudStack by Evan Hahn
Cover of the book GDB Pocket Reference by Evan Hahn
Cover of the book R Packages by Evan Hahn
Cover of the book Head First EJB by Evan Hahn
Cover of the book JavaScript & DHTML Cookbook by Evan Hahn
Cover of the book Clojure Cookbook by Evan Hahn
Cover of the book Mining the Social Web by Evan Hahn
Cover of the book Learning the vi and Vim Editors by Evan Hahn
Cover of the book Understanding Context by Evan Hahn
Cover of the book Ethics of Big Data by Evan Hahn
Cover of the book Using Mac OS X Lion Server by Evan Hahn
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy