JavaScript Testing with Jasmine : JavaScript Behavior-Driven Development - Evan Hahn

JavaScript Testing with Jasmine

JavaScript Behavior-Driven Development

By: Evan Hahn

Paperback | 9 April 2013

At a Glance

Paperback


RRP $28.50

$16.99

40%OFF

or 4 interest-free payments of $4.25 with

Ships in 15 to 25 business days

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 in Web Programming

Web Engineering : Theory and Practice - Jeremiah Downey
Computer Coding Python Games for Kids : DK Help Your Kids With - Carol Vorderman
Coding For Dummies, All New Edition : For Dummies (Computer/Tech) - Paul McFedries
Python All-in-One For Dummies : 3rd Edition - John C. Shovic

RRP $74.95

$55.75

26%
OFF
Building Websites All-in-One For Dummies - Paul McFedries

RRP $74.95

$66.75

11%
OFF
Python Cookbook : Recipes for Mastering Python : 3rd Edition - David Beazley
Learning Python 6th Edition : Powerful Object-Oriented Programming - Mark Lutz
PHP, MySQL, & JavaScript All-In-One For Dummies : For Dummies - Richard Blum
Learning Go : An Idiomatic Approach to Real-World Go Programming - Jon Bodner
Coding All-in-One For Dummies : 2nd Edition - Chris Minnick

RRP $69.95

$50.75

27%
OFF
Developing Graphics Frameworks with Java and OpenGL - Lee Stemkoski
Spark : The Definitive Guide : Big Data Processing Made Simple - Bill Chambers
Building Microservices : Designing Fine-Grained Systems 2nd Edition - Sam Newman
Go Cookbook : Expert Solutions for Commonly Needed Go Tasks - Sau Sheong Chang