Dev Resources
Testing JavaScript favicon

Testing JavaScript

Learn/Programming

This course will teach you the fundamentals of testing your JavaScript applications using ESlint, TypeScript, Jest, and Cypress.

Testing JavaScript's website screenshot

About Testing JavaScript

Testing JavaScript is a video course by Kent C. Dodds that teaches a four-layer method for testing JavaScript applications: static analysis (ESLint, TypeScript, Prettier), unit testing, integration testing, and end-to-end testing. It applies this method using a React application as the primary example, while framing the approach as applicable to other frameworks such as Angular, Vue, and Backbone.

The course is organized into modules covering topics including how testing frameworks and assertion libraries work internally, JavaScript mocking fundamentals (stubs, mocks, and test doubles), static analysis tooling, cross-framework component testing with DOM Testing Library (demonstrated across 11 frameworks), and configuring Jest for real-world applications, including handling Webpack loaders, dynamic imports, and custom module resolution.

Each module includes video lessons, code, and transcripts, with stated lengths ranging from about 8 minutes to over 1 hour of material. The course is aimed at JavaScript developers who want a structured approach to automated testing rather than manual, ad hoc verification of their applications.

Key features

  • Four-layer testing method: static analysis, unit, integration, and e2e testing
  • Video courses on building your own testing framework and assertion library
  • JavaScript mocking fundamentals including stubs, mocks, and test doubles
  • DOM Testing Library usage across 11 different JavaScript frameworks
  • Jest configuration for handling Webpack loaders, dynamic imports, and custom module resolution
  • Testing techniques applicable across React, Angular, Vue, and other frameworks

Frequently asked questions

Who is this course for?

It's for JavaScript developers who want to learn a professional method for testing applications and ship code with more confidence.

What frameworks does it cover?

The core course applies its four-layer testing method to a React application, but the DOM Testing Library module covers 11 different frameworks including React and Svelte, and the strategy is described as applicable to Angular, Vue, and legacy Backbone apps.

What testing tools are taught?

The course covers ESLint, TypeScript, and Prettier for static analysis, plus Jest for unit and integration testing with mocking.

How is the course structured?

It consists of 8 modules of video lessons with code transcripts, covering topics from testing fundamentals to Jest configuration.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • CoreClaw favicon

Show your product to thousands of developers

ยท 100k monthly pageviews
ยท 7k newsletter subscribers

Advertise your product

You might also like