Skip to content

Commit 6f8f998

Browse files
authored
docs: add notes about runners (#2085)
* docs: add notes about runners * Update index.md
1 parent 728ea86 commit 6f8f998

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/guide/index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ test('displays message', () => {
3838

3939
Vue Test Utils is commonly used with a test runner. Popular test runners include:
4040

41-
- [Vitest](https://vitest.dev/)
42-
- [Cypress](https://cypress.io/)
41+
- [Vitest](https://vitest.dev/). Terminal based, has experimental browser UI.
42+
- [Cypress](https://cypress.io/). Browser based, supports Vite, webpack.
43+
- [Playwright](https://playwright.dev/docs/test-components) (experimental). Browser based, supports Vite.
4344

44-
Vue Test Utils is a minimal and unopinionated library. For something more featureful, ergonomic and opinionated you may want to consider [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/overview), which uses Vue Test Utils under the hood. It runs in a browser, so you can see your components rendered as the tests execute.
45+
Vue Test Utils is a minimal and unopinionated library. For something more featureful, ergonomic and opinionated you may want to consider [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/overview) which has a hot reload development environment, or [Testing Library](https://testing-library.com/docs/vue-testing-library/intro/) which emphasizes accessability based selectors when making assertions. Both of these tools use Vue Test Utils under the hood and expose the same API.
4546

4647
## What Next?
4748

0 commit comments

Comments
 (0)