
EPUB · English
JavaScript Testing with Jasmine
JavaScript Behavior-Driven Development
Price and availability
$14.99
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Stores: US, UK, Canada, EU, Australia.
Sign in to buyThe price is re-checked by the server before payment.
For personal use under the eBook licence.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- O'Reilly Media
- Published
- 25 March 2013
- ISBN
- 9781449356750
- Subjects
- Web programming, Web programming
About this book
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 developmentWrite useful specs by determining what you need to testand what you dontTest the behavior of new and existing code against the specs you createApply Jasmine matchers and discover how to build your ownOrganize code suites into groups and subgroups as your code becomes more complexUse a Jasmine spy in place of a function or an objectand learn why its valuable
Bibliographic data © Gardners Books Ltd.