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 REST API Design Rulebook by Evan Hahn
Cover of the book Java 8 Lambdas by Evan Hahn
Cover of the book iOS 5 Programming Cookbook by Evan Hahn
Cover of the book Prometheus: Up & Running by Evan Hahn
Cover of the book Sharing Big Data Safely by Evan Hahn
Cover of the book Text Mining with R by Evan Hahn
Cover of the book Snort Cookbook by Evan Hahn
Cover of the book SQL Pocket Guide by Evan Hahn
Cover of the book Data Mashups in R by Evan Hahn
Cover of the book PSP Hacks by Evan Hahn
Cover of the book Introducing Erlang by Evan Hahn
Cover of the book Lean Analytics by Evan Hahn
Cover of the book Linux System Programming by Evan Hahn
Cover of the book Test-Driven Infrastructure with Chef by Evan Hahn
Cover of the book LINQ: The Future of Data Access in C# 3.0 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