Expanded

Testing Vue Components with Jest

Vue applications are powerful and easy to build, but for a large project or a big team, a testing solution is needed. This course will teach you to test Vue components with Jest, ensuring that they, and your whole application, function correctly.
Course info
Level
Intermediate
Updated
Mar 31, 2021
Duration
1h 29m
Table of contents
Description
Course info
Level
Intermediate
Updated
Mar 31, 2021
Duration
1h 29m
Description

Vue applications are designed to work at all levels of complexity. However, as projects get larger, it becomes harder and harder to test existing components against regression.

In this course, Testing Vue Components with Jest, you’ll learn to ensure the proper functioning of your Vue Components and the whole application by intelligently applying the Jest framework.

First, you’ll explore how to install Jest and integrate it with a boilerplate Vue project .

Next, you’ll discover how to write tests for Vue components, integrating mocks, snapshots and async tests to create a reliable test suite.

Finally, you’ll learn how to integrate a Jest-enabled project with continuous integration, greatly reducing the amount of effort needed to deploy your application.

When you’re finished with this course, you’ll have the skills and knowledge of Vue and Jest needed to test any personal project, work with a large team using Vue and Jest, or create basic dev ops for Vue teams wishing to use Jest.

About the author
About the author

Daniel Stern is a freelance web developer from Toronto, Ontario who specializes in Angular, ES6, TypeScript and React. His work has been featured in CSS Weekly, JavaScript Weekly and at Full Stack Conf in England.

More from the author
Vue.js: Big Picture
Beginner
1h 32m
Dec 21, 2020
Styling React Native Applications
Intermediate
1h 50m
Nov 9, 2020
More courses by Daniel Stern
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, everyone. My name is Daniel Stern, and welcome to my course, Testing Vue Applications with Jest. I'm an independent software and web developer with many years of experience developing open source libraries and teaching web technologies. Vue is a great framework and an industry standard for developing web applications. But without a way to make sure your application works, it will get more and more difficult making sure the application is still functional with each new feature that you add. This course is about testing Vue applications with Jest so your project can have an objective and reliable way of ensuring it works as expected. Some of the major topics that we will cover include installing and configuring Jest for Vue applications, testing Vue components, integrating asynchronous testing, and running our tests on continuous integration. By the end of this course, you'll know how to add Jest to your Vue application, write appropriate tests, and prevent broken versions of your app from reaching production. Before beginning the course, you should be familiar with basic JavaScript and be able to build a standard Vue application. From here, you should feel comfortable diving in to Vue and Jest with courses on Jest assertions and matchers, advanced configuration of Jest, mastering the continuous integration tool of your choice, and more. I hope you'll join me on this journey to learn Vue and Jest with the Testing Vue Applications course, at Pluralsight.