Playing
04. I can see some text

Episodes

0%
Your progress
  • Total: 2h 41m
  • Played: 0m
  • Remaining: 2h 41m
Join or sign in to track your progress
01. Introduction
1m 14s
0%
02. Setting up a project for testing
19m 10s
0%
03. Structuring and writing tests
5m 29s
0%
04. I can see some text
2m 47s
0%
05. A class should be visible
5m 47s
0%
06. Clicking should do something
7m 50s
0%
07. Slot content should be rendered
7m 28s
0%
08. An event should be emitted
8m 41s
0%
09. A router-link should be rendered
10m 10s
0%
10. A quicker way to mock router-link
4m 52s
0%
11. I can read $route information
2m 58s
0%
12. Asynchronous data should be loaded
10m 54s
0%
13. It cleans up after a component is destroyed
3m 3s
0%
14. The route should be updated
7m 7s
0%
15. I can see a component within another component
3m 37s
0%
16. Check that a method is called
4m 34s
0%
17. Testing timers
8m 58s
0%
18. Using and mocking mixins
5m 17s
0%
19. Vuex: A getter value should be visible
12m 17s
0%
20. Vuex: An action should be dispatched
9m 55s
0%
21. Restructuring Vuex for isolated tests
3m 47s
0%
22. Vuex in isolation: Getters
2m 44s
0%
23. Vuex in isolation: Mutations
3m 16s
0%
24. Vuex in isolation: Actions
9m 20s
0%
24 episodes2 hrs 41 mins

Course overview

Want to get started with unit testing in Vue? Here's pretty much everything you need. We'll cover setting up a test runner, using Vue Test Utilities, mocking and stubbing common dependencies like Vue Router and Axios, and testing Vuex both within components and in isolation. Let's get testing.

Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!

Comments

No comments, yet. Be the first to leave a comment.