Vue 3 Testing with Vitest
Offered By: Pluralsight
Course Description
Overview
Vue is one of the world’s most popular frameworks for building front-end applications. With Vitest, you can write tests to prevent and detect regression. This course will teach you to use Vitest for a diverse array of tests.
Vue is a popular and expressive framework used to build front-end applications. But how can you ensure that your applications are robust, error-free, and easy to maintain? In this course, Vue 3 Testing with Vitest, you’ll learn to test Vue 3 applications using Vitest. First, you’ll explore an overview of installing and configuring Vitest. Next, you’ll discover fundamental Vitest skills: snapshot testing, in-source testing, and viewing test results in an organized manner. Finally, you’ll learn advanced Vitest techniques - multithreading with Tinypool, mocking with Tinyspy, and benchmarking with Tinybench. When you’re finished with this course, you’ll have the skills and knowledge of testing Vue 3 applications with Vitest needed to cover any Vue application with practical and professional tests, ensuring it works correctly and delivers the results you need.
Vue is a popular and expressive framework used to build front-end applications. But how can you ensure that your applications are robust, error-free, and easy to maintain? In this course, Vue 3 Testing with Vitest, you’ll learn to test Vue 3 applications using Vitest. First, you’ll explore an overview of installing and configuring Vitest. Next, you’ll discover fundamental Vitest skills: snapshot testing, in-source testing, and viewing test results in an organized manner. Finally, you’ll learn advanced Vitest techniques - multithreading with Tinypool, mocking with Tinyspy, and benchmarking with Tinybench. When you’re finished with this course, you’ll have the skills and knowledge of testing Vue 3 applications with Vitest needed to cover any Vue application with practical and professional tests, ensuring it works correctly and delivers the results you need.
Syllabus
- Course Overview 1min
- Introduction to Testing with Vitest 9mins
- Vitest Setup and Configuration 10mins
- Snapshot Testing with Vitest 13mins
- In-source Testing with Vitest 8mins
- Vitest UI 8mins
- Mocking Vitest Tests with TinySpy 10mins
- Multi-thread Testing with Vitest and Tinypool 6mins
- Benchmarking Vitest Tests with Tinybench 7mins
- Test Coverage with Vitest and c8 10mins
- Summary 4mins
Taught by
Daniel Stern
Related Courses
Introduction to Unit Testing in Jest - The FundamentalsCoursera Project Network via Coursera Unit Testing for Data Science in Python
DataCamp WebServices/Rest API Testing with SoapUI +Real time Projects
Udemy Testing Fundamentals in iOS
Pluralsight F#: Automated Testing for Developers
LinkedIn Learning