🚧 PLEASE NOTE: An updated version of this course is available! see the Rapid Testing with Vitest: Master Unit Testing & Mocking course. This course is outdated!

About the Testing Vue.js Components course

Learn how to test your Vue.js components with Jest and the official unit testing library for Vue.js - Vue Test Utils

In this course, you’ll learn everything you need to know to write proper unit tests for your Vue components.

By the end of this testing course you will know

  • Which tools are required for an efficient testing workflow
  • How to mount and render your Vue components
  • How to programmatically interact with your components through Vue Test Utils
  • How to test computed properties and watchers
  • How to test Vue.js lifecycle methods
  • How to traverse the DOM and test …
  • How to stub child components
  • How to test that a Vuex Store is injected properly

If you’re not familiar with Jest, the testing framework. We recommend checking out our Test with Jest course before you tackle Testing Vue.js Components.

·
·
·

What you will learn in the Testing Vue.js Components course

Learn how to test Vue components
Learn how to test computed properties
Learn how to test Vue methods
Learn how to test Vue lifecycle hooks
Learn how to stub child components

Share this course

Request a course

Who's behind the course

Roman Kuba - Teacher
Roman is a senior software engineer at Codeship by day and an educator and a testing warrior by night.
Rolf Haug - Contributor / Reviewer
Rolf has been in development industry for 16 years. Long-time entrepreneur and consultant currently working on educational content and workshops.
Alex Kyriakidis - Contributor / Reviewer
Alex is an educator and consultant, core member of the Vue.js team and author of the first best-selling books on Vue.js.