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 Hacking Healthcare by Evan Hahn
Cover of the book EPUB 3 Best Practices by Evan Hahn
Cover of the book Enterprise Service Bus by Evan Hahn
Cover of the book Flex 3 Cookbook by Evan Hahn
Cover of the book Mastering Perl by Evan Hahn
Cover of the book XSLT Cookbook by Evan Hahn
Cover of the book Production-Ready Microservices by Evan Hahn
Cover of the book Basic Visual Formatting in CSS by Evan Hahn
Cover of the book Learning Scala by Evan Hahn
Cover of the book Embedding Perl in HTML with Mason by Evan Hahn
Cover of the book PHPUnit Pocket Guide by Evan Hahn
Cover of the book Photoshop Elements 7: The Missing Manual by Evan Hahn
Cover of the book Web Security Testing Cookbook by Evan Hahn
Cover of the book Flash CS5.5: The Missing Manual by Evan Hahn
Cover of the book Learning XNA 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