41 lines
1.4 KiB
Markdown
41 lines
1.4 KiB
Markdown
|
# Vue Test Utils [![Build Status](https://circleci.com/gh/vuejs/vue-test-utils/tree/dev.png?style=shield)](https://circleci.com/gh/vuejs/vue-test-utils)
|
||
|
|
||
|
## Currently in beta
|
||
|
|
||
|
To use Vue Test Utils beta:
|
||
|
|
||
|
```
|
||
|
// npm
|
||
|
npm install --save-dev @vue/test-utils
|
||
|
|
||
|
// yarn
|
||
|
yarn add --dev @vue/test-utils
|
||
|
```
|
||
|
|
||
|
## Intro
|
||
|
|
||
|
Vue Test Utils is the official test library for [Vue.js](http://vuejs.org). It provides methods for unit testing Vue components.
|
||
|
|
||
|
## Documentation
|
||
|
|
||
|
Refer to the [documentation](https://vue-test-utils.vuejs.org/)
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
- [example with Jest](https://github.com/vuejs/vue-test-utils-jest-example)
|
||
|
- [example with Mocha](https://github.com/vuejs/vue-test-utils-mocha-webpack-example)
|
||
|
- [example with tape](https://github.com/eddyerburgh/vue-test-utils-tape-example)
|
||
|
- [example with AVA](https://github.com/eddyerburgh/vue-test-utils-ava-example)
|
||
|
|
||
|
## Questions
|
||
|
|
||
|
For questions and support please use the [Discord chat room](https://vue-land.js.org/), [Gitter chat room](https://gitter.im/vuejs/vue), or [the official forum](http://forum.vuejs.org). The issue list of this repo is **exclusively** for bug reports and feature requests.
|
||
|
|
||
|
## Issues
|
||
|
|
||
|
Please make sure to read the [Issue Reporting Checklist](https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#issue-reporting-guidelines) before opening an issue. Issues not conforming to the guidelines may be closed immediately.
|
||
|
|
||
|
## License
|
||
|
|
||
|
[MIT](http://opensource.org/licenses/MIT)
|