joshua1988 / vue-test-tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue.js Test Tutorials

Introduction

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


Table of Contents

  1. User Input & Validation Testing
  2. Mouse & Keyboard Testing
  3. Props Testing (Child)
  4. Event Emit Testing (Parent - Child)
  5. Ajax Testing (Mocking Axios)
  6. Vuex Testing
  7. Filter & Plugins Testing (i18n)
  8. 3rd Party Library Testing

Requirements

This project requires the following software

Installation

  1. Clone this repository
  2. Install the dependencies by running npm i
  3. Start the project by running npm run serve

Contribution

Read our contributing guide to learn about how you can contribute, how to propose improvements or if you are interested in translating the content.

License

All projects and packages in this repository are MIT licensed.

About

License:MIT License


Languages

Language:JavaScript 67.2%Language:Vue 29.0%Language:HTML 3.7%