Documentation Home
Simple JavaScript testing

Getting Started

Frequently Asked Questions

Node.js

Browser Runner

Your First Suite

Upgrade Guides

5.0

4.0

3.0

2.0

Tutorials

Basics

  1. Your First Suite
  2. Testing Async Code

Matcher and Equality Customization

  1. Custom Matchers
  2. Custom Equality Testers
  3. Custom Asymmetric Equality Testers
  4. Custom Object Formatters

Spies/Mocking

  1. Spying on Properties
  2. Default Spy Strategy
  3. Module Mocking

Other Jasmine Features

  1. Custom Reporters
  2. Running Specs in Parallel
  3. Use Without Globals

Techniques

  1. Sharing Behaviors

Guides for Specific Environments

  1. Testing React in the Browser
  2. Testing React in Node

API Reference

jasmine-core

  1. Edge
  2. 5.4
  3. 5.3

jasmine-npm

  1. Edge
  2. 5.4
  3. 5.3

jasmine-browser-runner

  1. Edge
  2. 3.0.0-beta-1
  3. 2.5
  4. 2.4

Archived documentation