Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vuejs/vue-test-utils-next
Vue Test Utils for Vue 3
https://github.com/vuejs/vue-test-utils-next
Last synced: 4 days ago
JSON representation
Vue Test Utils for Vue 3
- Host: GitHub
- URL: https://github.com/vuejs/vue-test-utils-next
- Owner: vuejs
- License: mit
- Created: 2020-02-20T12:28:42.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T04:17:04.000Z (4 months ago)
- Last Synced: 2024-10-29T10:46:07.004Z (4 months ago)
- Language: TypeScript
- Homepage: https://test-utils.vuejs.org
- Size: 6.13 MB
- Stars: 1,039
- Watchers: 25
- Forks: 244
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-vue-3 - vue-test-utils-next - The next iteration of Vue Test Utils, targeting Vue 3 (Packages)
README
# Vue Test Utils
Component testing utils for Vue 3.
## Languages
[🇫🇷 French version of this README.md](https://github.com/vuejs/test-utils/tree/main/docs/fr/README.md)
## Installation and Usage
- yarn: `yarn add @vue/test-utils --dev`
- npm: `npm install @vue/test-utils --save-dev`Get started with the [documentation](https://test-utils.vuejs.org/).
## Coming from Vue 2 + Test Utils v1?
[Check the migration guide](https://test-utils.vuejs.org/migration/). It's still a work in progress. If you find a problem or something that doesn't work that previously did in Vue Test Utils v1, please open an issue.
## Documentation
See the [docs](https://test-utils.vuejs.org/).
## Development
Get started by running `pnpm install`. You can run the tests with `pnpm test`. That's it!
## Contributing Docs
All the documentation files can be found in `docs`. It contains the English markdown files while translation(s) are stored in their corresponding `` sub-folder(s):
- [`fr`](https://github.com/vuejs/test-utils/tree/main/docs/fr): French translation.
Besides that, the `.vitepress` sub-folder contains the config and theme, including the i18n information.
- `pnpm docs:dev`: Start the docs dev server.
- `pnpm docs:build`: Build the docs.To add or maintain the translations, we follow the [Vue Ecosystem Translation Guidelines](https://github.com/vuejs-translations/guidelines/blob/main/README_ECOSYSTEM.md).
- `pnpm docs:translation:status []`: Show the translation status for your language. If you don't specify a language, it will show the status for all languages.
- `pnpm docs:translation:compare `: Compare the docs with the latest checkpoint for your language.
- `pnpm docs:translation:update []`: Update the checkpoint for your language. The checkpoint will be set by the latest commit hash. However, you can also specify a commit hash manually.