This practical guide shows you how to write unit tests with Jasmine that automatically check for bugs in your application.
Learn how to write specifications for individual components, and then use those specs to test the code you write.
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
- Format: Paperback / softback
- Pages: 75 pages
- Publisher: O'Reilly Media, Inc, USA
- Publication Date: 09/04/2013
- Category: Web programming
- ISBN: 9781449356378
- PDF from £9.12
- EPUB from £8.16