To be a better Vue.js developer, we should invest more time to make test codes and use cases in our application. This guide will walk you through the concept of testing in Vue.js application and it helps you build test codes for the each basic funtionality in enterprise web applications.
Hope this enlightens your web development experiences 😄
This tutorial is based on Jest and Vue Test Utils
- User Input & Validation Testing
- Mouse & Keyboard Testing
- Props Testing (Child)
- Event Emit Testing (Parent - Child)
- Ajax Testing (Mocking Axios)
- Vuex Testing
- Filter & Plugins Testing (i18n)
- 3rd Party Library Testing
This project requires the following software
- Clone this repository
- Install the dependencies by running
npm i
- Start the project by running
npm run serve
Read our contributing guide to learn about how you can contribute, how to propose improvements or if you are interested in translating the content.
All projects and packages in this repository are MIT licensed.