Learn how to use unit testing in Jasmine to find basic glitches in your JavaScript code.
Overview
Syllabus
Introduction
- Learning unit testing with Jasmine
- Prerequisite knowledge
- Setting up Jasmine from scratch
- Arrange, act, and assert pattern
- Grouping with describe()
- Challenge: Grouping with describe()
- Your first test
- Challenge: Your first test
- Data setup with beforeEach
- Challenge: Data setup with beforeEach
- Skipping and focusing introduction
- Challenge: Skipping and focusing introduction
- Spies
- Challenge: Spies
- Mocks
- Challenge: Mocks
- Additional matchers
- Challenge: Additional matchers
- Final challenge
- What's next?
Taught by
Dylan Israel