This is Visual Studio Code extension built to make faster tedious doings related with writing unit tests for vue applications using jest and vue-test-utils
- creating essential tests based on .vue component or view
- mocking vuex store state, actions, getters, mutations used in vue file
- At least Visual studio code 1.43
If you have some unstandard folders structure, for examples test are in different location than test/unit/specs/
Then you can specify your own paths in settings.json with options described below:
vue-tests-generator.developmentPath
:"src/"
- path where are all of your development filesvue-tests-generator.testsPath
:"tests/unit/specs/"
- path where your unit tests have to be stored