Testing Fundamentals
Course on Master.dev by Steve Kinney
- 4 h 30 min
- LengthVideo runtime
- Subscription
- Price modelMaster.dev plan
- 29
- Lessons
- Oct 2024
- Published29 Oct 2024
About this course
Description from Master.dev
Ship code with confidence! Learn the basics of testing and apply Test-Driven Development techniques to your workflow. Create automated tests for DOM elements and user interactions. Use mocks and spies to control your environment and test more complex code. Gain practical experience writing unit and integration tests while exploring common testing tools.
What it covers
29 lessons
- 01
Introduction
- Introduction
- Course Overview
- 02
Testing Basics
- Anatomy of a Test
- Writing Your First Test
- Simple Tests Exercise
- Testing Guidelines
- Testing for Invalid Input
- Testing for Edge Cases Exercise
- 03
Testing Equality
- Referential Equality
- Testing Randomness
- Asymmetric Matchers Exercise
- Before/After Hooks & Async Code
- 04
Testing the DOM
- DOM Testing Tools
- Testing Buttons
- Using Testing Library Utilities
- Exploring the Accident Counter Project
- Accident Counter Exercise
- Accident Counter Solution
- Searching DOM
- 05
Stubs, Spies, and Mocks
- Test Doubles
- Spies
- Mocks
- Alert Spy Exercise
- Mocking Dependencies
- Mocking Time
- 06
End-To-End Testing
- Playwright
- Testing the Counter with Playwright
- Mock Service Worker
- 07
Wrapping Up
- Wrapping Up
Similar JavaScript testing courses
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.