Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Testing Vue Components with Jest

via Pluralsight

Overview

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.

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.

Syllabus

  • Course Overview 1min
  • Setting up a Jest Testing Suite for Vue Applications 33mins
  • Verifying Vue Components’ Functionality with Jest 34mins
  • Working with Continuous Integration 20mins

Taught by

Daniel Stern

Reviews

2.7 rating at Pluralsight based on 49 ratings

Start your review of Testing Vue Components with Jest

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.