Introduction to Unit Testing

Code with confidence and lower your stress levels by learning how to test your code as you write it.


Avatar of Dylan C. Israel

Duration
86 min

Intermediate
TierPro
Follow
Start Course
Content
About
Introduction
Introduction to Jasmine
Frontend Career Path
Setting Up Jasmine from Scratch
Understanding the 3 parts of testing
Testing Setup Breakdown
Grouping with describe
Grouping with describe (Challenge)
Our first test
Our first test (Challenge)
Setting Up Data with beforeEach()
Setting Up Our Data with beforeEach (Challenge)
Skipping and Focusing Introduction
Skipping and Focusing (Challenge)
Unit Testing: Spies 🕵️
Spy Challenge 🕵️
Mocks + Debug with me! 🪲
Mocks Challenge
Additional matchers: toBeDefined() & toEqual()
Additional Matchers Challenge
Final Challenge
Outro
Certificate of Completion