vue-cli-plugin-ui-karma
vue-cli 3.x ui plugin to add Karma to your Vue Project
2,062
| Install | |
|---|---|
npm install vue-cli-plugin-ui-karma |
|
| Latest Version: | 0.2.5 |
| License: | MIT |
| Last Updated: | May 4, 2019 |
| Links: | GitHub · npm |
Maintainer: st1600133971
☕️ vue-cli-plugin-ui-karma
ui-karma plugin(ui) for vue-cli 3.x
This adds unit testing support using Karma.
Features
Implemented
- Run unit tests in headless chrome(default) with
vue-cli-service karma --file karma.conf.js. - Add customizable karma conf files for vue project.
- Add demo unit tests for normal vue project and example element-ui unit tests for vue project with element-ui.
Injected Commands
-
vue-cli-service karmarun unit tests with karma.
Options:
start run unit tests against auto-starting karma server karma.conf.*.js runs with a specific karma conf file. (default: karma.conf.js)This command automatically starts a karma server in development mode to run the unit tests against.
Configuration
We've pre-configured Karma to place most of the unit testing related files under <projectRoot>/.
Installing in an already created project
npm install -D vue-cli-plugin-ui-karma
For Karma Statistics in vue-cli 3.x ui, please install vue-cli-addon-ui-karma in npm's global mode.
npm install -g vue-cli-addon-ui-karma
Version History
| Version | Released | License |
|---|---|---|
| 0.2.5 | MIT | |
| 0.2.4 | MIT | |
| 0.2.3 | MIT | |
| 0.2.2 | MIT | |
| 0.2.1 | MIT | |
| 0.2.0 | MIT | |
| 0.1.8 | MIT | |
| 0.1.7 | MIT | |
| 0.1.6 | MIT | |
| 0.1.5 | MIT | |
| 0.1.4 | MIT | |
| 0.1.3 | MIT | |
| 0.1.2 | MIT | |
| 0.1.1 | MIT | |
| 0.1.0 | MIT |