Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Results Page:  Previous Next
Author Sethi, Munish, author.

Title Jasmine cookbook : over 35 recipes to design and develop Jasmine tests to produce world-class JavaScript applications / Munish Sethi. [O'Reilly electronic resource]

Publication Info. Birmingham, UK : Packt Publishing, 2015.
QR Code
Description 1 online resource (1 volume) : illustrations
Series Community Experience Distilled
Community experience distilled.
Note "Quick answers to common problems"--Cover page.
Includes index.
Summary Annotation If you are a competent JavaScript developer who wants to design and implement tests using Jasmine in order to minimize bugs in the production environment, then this book is ideal for you. Some familiarity with unit testing and code coverage concepts such as branch coverage along with basic knowledge of Node.js, AngularJS, and CoffeeScript is required.
Contents Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Jasmine Framework; Introduction; Writing your first Jasmine test; Adding specs to your Jasmine test; Adding expectations and matchers to the test; Applying different matchers to the Jasmine test; Applying setup and teardown functions to the Jasmine test; Using the ""this"" keyword; Chapter 2: Jasmine with TDD and BDD Processes; Introduction; Writing Jasmine tests using TDD and BDD processes; Creating a Jasmine test for new code using TDD and BDD
Designing Jasmine tests for existing code using TDD and BDDDefining nested suites to write more meaningful specs; Customizing Matchers and Jasmine Chapter 3: Functions; Introduction; Writing a Jasmine test using a custom equality tester function; Writing Jasmine tests with custom matchers; Writing Jasmine tests for exceptions; Declaring pending specs with Jasmine tests; Chapter 4: Designing Specs from Requirement; Introduction; Writing useful specs by analyzing the test requirements; Implementing the Jasmine test corresponding to the specs; Applying Acceptance Criteria to the Jasmine test
Organizing Jasmine specs into groups and subgroupsChapter 5: Jasmine Spies; Introduction; Writing Jasmine tests using the spyOn() method and special matchers for spies; Writing Jasmine tests using tracking properties; Writing Jasmine tests with your own custom spy method; Using jasmine.any and jasmine.objectContaining; Writing Jasmine tests to mock the JavaScript timeout functions; Chapter 6: Jasmine with AJAX, jQuery, and Fixtures; Introduction; Writing Jasmine specs for AJAX; Designing Jasmine specs with HTML and JSON fixtures; Writing Jasmine specs for jQuery
Writing Jasmine specs using custom jQuery matchersWriting Jasmine specs for asynchronous operations using the done() function; Chapter 7: Code Coverage with Jasmine Tests; Introduction; Configuring code coverage tools; Generating code coverage using karma and istanbul; Writing Jasmine specs for uncovered branches/code; Increasing code coverage for existing code; Chapter 8: Jasmine with Other Tools; Introduction; Writing Jasmine tests for AngularJS; Using Jasmine with CoffeeScript; Writing Jasmine tests for Node.js; Chapter 9: Developing JavaScript Apps Using Jasmine -- a Real-time Scenario
IntroductionDefining Jasmine specs corresponding to a user story; Implementing Jasmine specs with Web/HTML; Implementing Jasmine tests with a Data-Driven approach; Creating Jasmine tests for a change request; Index
Subject Jasmine (Computer file)
Jasmine (Computer file)
JavaScript (Computer program language) -- Testing.
Added Title Over 35 recipes to design and develop Jasmine tests to produce world-class JavaScript applications
Other Form: Print version: Sethi, Munish. Jasmine Cookbook : over 35 recipes to design and develop Jasmine tests to produce world-class JavaScript applications. Birmingham, England : Packt Publishing, 2015, ©2014 viii, 258 pages Community experience distilled. 9781784397166
ISBN 1784393282
1784397164
9781784397166
9781784393281 (electronic bk.)
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information