Skip to content
JS

Unit Testing JavaScript (with CoffeeScript)

Course on Master.dev by Justin Searls, David Mosher

View on Master.dev (opens in a new tab)
4 h 46 min
LengthVideo runtime
Subscription
Price modelMaster.dev plan
34
Lessons
Oct 2015
Published16 Oct 2015

About this course

Description from Master.dev

We are writing increasingly complex applications in JavaScript both in the Browser and the server-side using Node.JS. With this increased complexity comes a need to understand the nuances of testing. This course covers how to write testable code, types of tests, testing strategies, tactics and tips that will increase your ability to test JavaScript on the client and the server (Node.js). The unit tests are written in CoffeeScript, but the testing strategies you'll learn will be useful in pure JavaScript as well.

What it covers

34 lessons
  1. 01

    Introduction

    1. Introduction
    2. Background
    3. CoffeeScript Basics
  2. 02

    Roman Numeral Calculator

    1. Setup
    2. Test-Driven Development
    3. Writing and Refactoring Unit Tests
    4. Refactoring Application Code
    5. Questions
  3. 03

    Node

    1. Testing Pyramid
    2. Discovery Testing
    3. Trees
    4. Integration Tests
    5. Other Dependencies
    6. Video 1: First Unit Test
    7. First Unit Test, continued
    8. Video 2: Generating a Problem
    9. Video 3: Picking Random Values
    10. Video4: Saving a Problem
    11. Video 5: Presenting a Problem
    12. Videos 6 & 7: Finishing the Application
    13. Discovery Testing Wrap-up
  4. 04

    Lineman

    1. Lineman Background
    2. Video 1: Jasmine Fixtures
    3. Jasmine Fixtures, continued
    4. SpyOn Function
    5. Affix Function
    6. Video 2: AJAX Spies
    7. Video 3: Captors
    8. Connecting the Applications
  5. 05

    Testium

    1. Testium Introduction
    2. Using Testium
    3. Testing Challenges
    4. Q&A Part 1
    5. Q&A Part 2

Similar JavaScript testing courses

  1. Intermediate4 h 48 min
    CourseraJul 2025
  2. Intermediate4 h 44 min
    CourseraJul 2025
  3. UX Research & User Testing

    Master.dev · Paul Boag · 30 lessons · May 2024

    4 h 50 minSubscription
    Master.dev30May 2024
  4. Testing Web Apps with Cypress

    Master.dev · Steve Kinney · 35 lessons · Mar 2022

    4 h 41 minSubscription
    Master.dev35Mar 2022
  5. Playwright: Automated Testing & AI Workflows

    Master.dev · Steve Kinney · 23 lessons · Jun 2026

    4 h 34 minSubscription
    Master.dev23Jun 2026
  6. Web Scraping with Puppeteer

    Educative · Sidath Munasinghe · 43 lessons · Jan 2025

    Beginner5 hSubscription
    Educative43Jan 2025
  7. Front-end Testing 101: Integration and End-to-end Testing

    Educative · Stefano Magni · 74 lessons · Apr 2026

    Intermediate3 h 30 minSubscription
    Educative74Apr 2026
  8. Using Jasmine to Unit Test Your JavaScript App

    Educative · Georgi Parlakov · 21 lessons · Nov 2024

    Beginner6 h 30 minSubscription
    Educative21Nov 2024

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.

    Compare