Skip to content

Latest commit

 

History

History
 
 

blogs__vue-vuex-rest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Testing Vue + Vuex + REST application

Testing Vue + Vuex + REST TodoMVC using Cypress.

Blog Post

The blog post

Application organization

Shows how to

Spec files are in cypress/integration folder

  • test application through the GUI in ui-spec.js
  • mock REST calls to the server
  • test application through the Vuex store in store-spec.js
  • test application through REST calls in api-spec.js
  • test text file upload

Script commands

  • npm run reset:db resets data.json to have empty list of todos