Test utilties for Vite Application
- Approachable test utils
- Out-of-box like web starndard fetch API, manually server and browser control API, these can be used as they are.
- Instant server and browser start
- With vite dev or preview server and playwright, itβs no need to ready for boilerplate code for integration / e2e testing.
- Fixture based on vite config and overridable
- Get ready for your integration / e2e test environment with vite config and you can override it.
- Optimized for Vitest
- Feel the lightning speed integration / e2e testing with vitest!
See the docs site.
If you are interested in contributing to vite-test-utils
, I highly recommend checking out the contributing guidelines here. You'll find all the relevant information such as how to make a PR, how to setup development) etc., there.
This project is inspired, influenced by the following awesome projects:
- π
nuxt
@nuxt/test-utils
package
- π‘
unjs
- use the several packages
- β‘
vite
- fork from config loading logic
- β
vitest
- integrate setup / teardown hooks and context API