Testing Vue.js Components
1h 6m 20s
English
Paid
Course description
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
0:00
/ #1: Installing Vue Test Utils
All Course Lessons (11)
| # | Lesson Title | Duration | Access |
|---|---|---|---|
| 1 | Installing Vue Test Utils Demo | 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 |
Unlock unlimited learning
Get instant access to all 10 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.
Learn more about subscriptionComments
0 commentsWant to join the conversation?
Sign in to commentSimilar courses
Real-time chat with Node.js, Socket.io and Vue.js
Sources: Codecourse
How easy is it to build a simple real-time chat? Very easy. Build your own in less than an hour. Real-time chat with Node.js, Socket.io and Vue.js
26 minutes 39 seconds
A “Wordle” on Test Driven Development in Vue.js
Sources: vueschool.io
In this hands-on course, you will learn to write applications using Test-Driven Development (TDD) by building a clone of the Wordle game from scratch. This cour
2 hours 48 minutes 45 seconds
The Vue Firebase Project Course
Sources: fireship.io
The Vue Firebase Project Course will teach you the basics of full-stack web development by building a chat prototype from scratch. You will build a realtime walkie-talkie style...
46 minutes 28 seconds
Reusable Components
Sources: Michael Thiessen
Master the art of writing highly reusable Vue — and make the most of your components. Reusable Components is all about how to make your components more flexible
4 hours 10 minutes 42 seconds