How to Write Unit Tests - Unit Testing Tutorial

How to Write Unit Tests - Unit Testing Tutorial

Scrimba via YouTube Direct link

- Introduction to Unit Testing

1 of 21

1 of 21

- Introduction to Unit Testing

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

How to Write Unit Tests - Unit Testing Tutorial

Automatically move to the next video in the Classroom when playback concludes

  1. 1 - Introduction to Unit Testing
  2. 2 - Introduction to Jasmine
  3. 3 - Setting up Jasmine from scratch
  4. 4 - Understanding the three parts of testing
  5. 5 - Testing setup breakdown
  6. 6 - Grouping with describe
  7. 7 - Grouping with describe - code challenge
  8. 8 - Our first test
  9. 9 - Our first test - code challenge
  10. 10 - Setting up data with beforeEach
  11. 11 - Setting up data with beforeEach - code challenge
  12. 12 - Skipping and Focussing introduction
  13. 13 - Skipping and Focussing - code challenge
  14. 14 - Unit Testing spies! 🕵️
  15. 15 - Spies - code challenge
  16. 16 - Mocks and debug with me! 🪲
  17. 17 - Mocks - code challenge
  18. 18 - Additional matchers: toBeDefined and toEqual
  19. 19 - Additional matchers - code challenge
  20. 20 - Final code challenge
  21. 21 - Unit Testing Outro

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.