diff --git a/ui/testing/README.md b/ui/testing/README.md index 80abcc5a5a3..8eb0b7ad997 100644 --- a/ui/testing/README.md +++ b/ui/testing/README.md @@ -173,6 +173,12 @@ $ pnpm test:specs --target * There are some custom matchers that you can use (`$any`, `$arrayValues`, `$objectValues`, `$ref`, `$reactive`) and also some extra @vue/test-utils mount() additions (`$style`, `$computedStyle`): [code](https://github.com/quasarframework/quasar/blob/dev/ui/testing/setup.js) * Use of Copilot when writing the tests is allowed ;) +Important reading list: +* https://vitest.dev/api/expect.html +* https://test-utils.vuejs.org/api/ +* https://vitest.dev/api/ +* https://vitest.dev/api/vi.html + ## Common formulas for writing tests > When instructed to search for something, do it in /ui/src/**/*.test.js files.