Testing Vue.js Components

1h 6m 20s
English
Paid

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.

Read more about the course

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

Watch Online Testing Vue.js Components

Join premium to watch
Go to premium
# Title Duration
1 Installing Vue Test Utils 05:16
2 Mounting Components with Vue Test Utils 07:01
3 The Wrapper Object 04:21
4 Learn How To Test Computed Properties and Watchers 06:48
5 Learn How To Test Vue.js Methods 09:23
6 Learn How to Test Vue.js Lifecycle Methods 07:52
7 Traversing The DOM 04:37
8 How to Stub a Vue.js Child Component 04:25
9 How to test that a Vuex Store is injected into a Vue.js component 05:45
10 Exercise 1: Rendering a List of Users 06:26
11 Exercise 2: Interacting with a Form 04:26

Similar courses to Testing Vue.js Components

Nuxt 3 Fundamentals: Build Full-Stack Vue.js Apps

Nuxt 3 Fundamentals: Build Full-Stack Vue.js Appsvueschool.io

Category: Vue, Nuxt
Duration 3 hours 5 minutes 56 seconds
Interactive Vue.js Resume Builder

Interactive Vue.js Resume Builderfullstack.io

Category: Vue
Duration 3 hours 33 minutes 1 second
Vue.js Master Class 2024 Edition

Vue.js Master Class 2024 Editionvueschool.io

Category: Vue
Duration 11 hours 55 minutes 11 seconds
A “Wordle” on Test Driven Development in Vue.js

A “Wordle” on Test Driven Development in Vue.jsvueschool.io

Category: Vue
Duration 2 hours 48 minutes 45 seconds
What’s New in Nuxt 4: Key Updates for Nuxt.js Developers

What’s New in Nuxt 4: Key Updates for Nuxt.js Developersvueschool.io

Category: Vue, Nuxt
Duration 33 minutes 19 seconds
The Vue 3 Bootcamp - The Complete Developer Guide

The Vue 3 Bootcamp - The Complete Developer Guideudemy

Category: Vue
Duration 17 hours 31 minutes 14 seconds
Complete Vue Developer 2023: Zero to Mastery (Pinia, Vitest)

Complete Vue Developer 2023: Zero to Mastery (Pinia, Vitest)zerotomastery.io

Category: Vue
Duration 27 hours 56 minutes 34 seconds