Need help with vue-test-utils?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

vuejs
3.2K Stars 566 Forks MIT License 1.4K Commits 86 Opened issues

Description

🔬 Utilities for testing Vue components

Services available

!
?

Need anything else?

Contributors list

# 19,661
JavaScr...
Shell
vue-tes...
vuejs
580 commits
# 4,081
JavaScr...
html-pa...
scikit-...
test-fr...
115 commits
# 25,604
TypeScr...
Shell
vue-tes...
vuejs
98 commits
# 479
Vue.js
JavaScr...
TypeScr...
iOS
40 commits
# 140
Vue.js
JavaScr...
TypeScr...
vuex
37 commits
# 58,469
HTML
bootstr...
vue-i18...
vuejs
18 commits
# 234,824
Shell
JavaScr...
TypeScr...
vuex
18 commits
# 59,745
JavaScr...
HTML
framewo...
stripe-...
15 commits
# 111,756
Shell
vue2
GraphQL
HTML
15 commits
# 118,150
gnome-s...
tiling-...
Vue.js
vuex
11 commits
# 57,471
express...
openapi
Markdow...
markdow...
11 commits
# 1,119
Sass
lesson
elixir-...
Yii Fra...
11 commits
# 220,018
Sass
swagger
swagger...
PHP
10 commits
# 281,632
Shell
JavaScr...
TypeScr...
10 commits
# 3,092
Vue.js
JavaScr...
TypeScr...
mediare...
9 commits
# 1,894
Vue.js
JavaScr...
vuex
TypeScr...
8 commits
# 292,520
Shell
JavaScr...
TypeScr...
8 commits
# 16,881
JavaScr...
Shell
TypeScr...
qunit
7 commits
# 2,603
Vue.js
JavaScr...
TypeScr...
vue-i18...
7 commits
# 132,914
Vue.js
PHP
HTML
Shell
5 commits

Vue Test Utils Build Status

Vue Test Utils is the official testing library for Vue.js.

Packages

This repository provides the following two packages:

You can install these packages by the following command.

npm install --save-dev @vue/test-utils
npm install --save-dev @vue/server-test-utils

Peer Dependencies

You need to install

vue-template-compiler
which is used to compile components. It should be the same version as the version of Vue you are using.
npm install --save-dev vue-template-compiler

Documentation

Refer to the documentation

Questions

For questions and support please use the Discord chat room or the official forum. The issue list of this repo is exclusively for bug reports and feature requests.

Issues

Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

Changelog

Changes for each release are documented in the release notes.

Stay In Touch

For the latest releases and announcements, follow on Twitter: @vuejs

License

MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.