logo
Supporting your high street Find out how »
Basket Image

Basket

JavaScript Testing with Jasmine : JavaScript Behavior-Driven Development, EPUB eBook

JavaScript Testing with Jasmine : JavaScript Behavior-Driven Development EPUB

Please note: eBooks can only be purchased with a UK issued credit card and all our eBooks (ePub and PDF) are DRM protected.

Description

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 experiencewith knowledge of some advanced featuresyoull 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 youll also discover how to use Jasmine with CoffeeScript, Node.js, Ruby on Rails, and Ruby without Rails. You wont 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 testand what you dont
  • 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 objectand learn why its valuable

Information

  • Format: EPUB
  • Pages: 52 pages
  • Publisher: O'Reilly Media
  • Publication Date:
  • Category: Web programming
  • ISBN: 9781449356750

Other Formats

£10.20

£8.16

Available to Download
 
Delivered to your inbox

to transfer to your device