-
Course
- Core Tech
Testing Vue 2 Components with Jest 26
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.
What you'll learn
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.
Table of contents
- Version Check | 20s
- A Vue-Jest Testing Scenario | 2m 44s
- Course Roadmap | 1m 30s
- Before Starting, You Should Be Familiar With… | 2m 13s
- Installing and Running the Demo Application | 3m 47s
- Installing the Project Files: Demo | 5m 26s
- What Is Jest? | 4m 42s
- Installing and Configuring Jest | 50s
- Installing and Configuring Jest: Demo | 4m 58s
- Setting up a Test Suite | 1m 33s
- Setting up a Test Suite: Demo | 4m 32s
- Summary | 1m 5s
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 Courses by Daniel