Testing Vue applications

Testing Vue applications

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 1h 19m | 201 MB

Testing helps create stable and reliable applications. Contrary to general perception tests are quite fun to write and run. You will also learn how to automate your functional tests for repetitive regression tests and also add test to your continuous integration and deployment pipelines to stop bugs from getting into your production code. Hi, I am Fikayo Adepoju and I have been building applications for over 10 years now. Through this time I have experienced a lot of bugs and I’ve been caught up at several odd hours to fix them. I have learned some best practices that I would like to share with you to avoid frustrating bugs. So sit back, fire up your development machine and let’s get started. Testing Vue.js applications.

Table of Contents

Introduction
1 Testing Vue applications
2 What you should know
3 Exercise files for testing and debugging
4 Why you need to test

1. Setting Up Testing Tools
5 Setting up the sample project
6 What makes up a testing toolkit
7 Getting started with Jest
8 Syntax error checking with ESLint

2. Unit Testing
9 Installing and running Jest
10 Testing strings using matchers
11 Testing numeric values
12 Testing objects and arrays
13 Organizing tests
14 Testing asynchronous code
15 Analyzing test coverage

3. Testing Vue Components
16 Mounting components using render
17 Accessing elements within a component
18 Firing events on components

4. Debugging with Vue and Chrome Developer tools
19 Debugging errors using Chrome DevTools
20 Setting up Vue Devtools
21 Debugging with Vue Devtools
22 Tracking and debugging state
23 Running a performance audit

5. Functional and Automated Testing
24 Introduction to Cypress
25 Running a simple end-to-end test with Cypress
26 Automated testing with CircleCI

Conclusion
27 Next steps with testing

Homepage