UNPKG

1.45 kBMarkdownView Raw
1# 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)
2
3## Currently in beta
4To use Vue Test Utils beta:
5```
6// npm
7npm install --save-dev @vue/test-utils
8
9// yarn
10yarn add --dev @vue/test-utils
11```
12
13## Intro
14
15Vue Test Utils is the official test library for [Vue.js](http://vuejs.org). It provides methods for unit testing Vue components.
16
17## Documentation
18
19Refer to the [documentation](https://vue-test-utils.vuejs.org/)
20
21## Examples
22
23- [example with Jest](https://github.com/vuejs/vue-test-utils-jest-example)
24- [example with Mocha](https://github.com/vuejs/vue-test-utils-mocha-webpack-example)
25- [example with tape](https://github.com/eddyerburgh/vue-test-utils-tape-example)
26- [example with AVA](https://github.com/eddyerburgh/vue-test-utils-ava-example)
27
28## Questions
29
30For 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.
31
32## Issues
33
34Please 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.
35
36## License
37
38[MIT](http://opensource.org/licenses/MIT)