Jasmine Testing for JavaScript

A Cloak & Dagger Guide

52 readers

100% Happiness guarantee Learn more

Minimum: $17.99

Suggested: $24.99+

Ways to buy

  • Free sample download
  • 52 readers
  • 42 pages
  • 5,319 words
  • 20% complete
  • Book language: English

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.

Buy A Bundle, And Save

About the 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.

If you buy a Leanpub book you get all the updates to the book for free! All books are available in PDF, EPUB (for iPad) and MOBI (for Kindle). There is no DRM. There is no risk, just guaranteed happiness or your money back.

Other books by this author

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
  • 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

Last updated

This Book is for Sale Through Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed books like this one.



Leanpub has a wide selection of in-progress and completed books available to browse, purchase, and enjoy.

Browse the Bookstore


Leanpub is free for authors and publishers to use. We pay authors or publishers 90% royalties minus 50 cents per sale.

Write a Book