electron-vue supports both unit testing and end-to-end testing for the renderer
process. During vue-cli
scaffolding you will have the option to include testing support.
Run unit tests with Karma + Mocha
npm run unit
Run end-to-end tests with Spectron + Mocha
npm run e2e
npm test