x
Jasmine Testing for JavaScript cover page
Jasmine Testing for JavaScript

Suggested

$24.99
Buy Now

Formats Included

Jasmine Testing for JavaScript

A Cloak & Dagger Guide

Jasmine Testing for JavaScript cover page Edit
This book is 20% Complete

Updated

Buy Now
$17.99
Minimum
$24.99
Suggested

Free sample

Download

Buy A Bundle And Save

About the Book

Are you writing complex JavaScript applications and struggling to keep them bug free? Once you've found one bug, do you know how to keep it from reemerging in the future?

This book will take you deep into the dangerous and secretive world of JavaScript testing using the Jasmine framework. As a new employee at MI7.5 you will be tasked with solving critical problems and keeping the free world safe, one spec at a time.

  • Feedback
  • Share this book

Table of Contents

  • A Note About The Book
  • Preface
    • The Universal Language
    • Testing in JavaScript
    • Jasmine
    • How to Use This Book
    • Technical Requirements
  • Getting Started
    • Welcome to MI7.5
    • The Development Process
    • Getting Started with Jasmine
  • Your First Assignment
    • Meeting the Code Length Requirement
    • A Brief Detour on Terminology
    • Meeting the Digit Requirement
    • Meeting the Minimum Different Characters Requirement
  • Generalizing Validation
    • Stubbing out the specs
    • Creating multiple validators
    • Allowing validators to accept multiple requirements
    • Getting the validity and failure messages
  • Appendix A: Matchers Index
    • toBe
    • toBeCloseTo
    • toBeDefined
    • toBeFalsy
    • toBeGreaterThan
    • toBeLessThan
    • toBeNull
    • toBeTruthy
    • toBeUndefined
    • toContain
    • toEqual
    • toHaveBeenCalled
    • toHaveBeenCalledWith
    • toMatch
    • toThrow
    • not
  • Appendix B: Jasmine in the Terminal
    • The Benefits
    • What you’ll need
    • Setting up the dependencies
    • Configuring Grunt
    • Running the specs

About the Author

Other books by this author

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks. We process the refunds manually, so they may take a few days to show up.
See full terms.