https://github.com/geminate/vue-unit-test-learn
https://github.com/geminate/vue-unit-test-learn
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/geminate/vue-unit-test-learn
- Owner: geminate
- Created: 2018-11-19T02:22:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-14T08:58:48.000Z (over 7 years ago)
- Last Synced: 2025-03-12T19:40:06.630Z (over 1 year ago)
- Language: JavaScript
- Size: 351 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-unit-test-learn
> A project for learning unit test in vue.js
## Build Setup
``` bash
# install dependencies
npm install
# run project
npm run start
# run test
npm run test
```
## dependencies
- [Mocha](https://mochajs.org/) - 测试框架(Test Framework)
- [Karma](http://karma-runner.github.io) - 浏览器测试环境(Test environment)
- [Chai](https://www.chaijs.com/) - 断言库(assertion library)
- [Vue-Test-Utils](https://vue-test-utils.vuejs.org) - Vue 测试公用库(Vue Test Utils is the official unit testing utility library for Vue.js)
- [Sinon](https://github.com/jekyll/jekyll) - 实现测试替代(Standalone test spies, stubs and mocks for JavaScript)