https://github.com/web-infra-dev/rstest
The testing framework powered by Rspack (WIP).
https://github.com/web-infra-dev/rstest
rsbuild rstack rstest test test-tools testing testing-framework
Last synced: 5 months ago
JSON representation
The testing framework powered by Rspack (WIP).
- Host: GitHub
- URL: https://github.com/web-infra-dev/rstest
- Owner: web-infra-dev
- License: mit
- Created: 2024-11-11T07:44:56.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-16T03:56:39.000Z (5 months ago)
- Last Synced: 2025-06-16T04:50:40.272Z (5 months ago)
- Topics: rsbuild, rstack, rstest, test, test-tools, testing, testing-framework
- Language: TypeScript
- Homepage: https://rstest.rs
- Size: 1.17 MB
- Stars: 301
- Watchers: 5
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
- stars - rstest - infra-dev | 384 | (TypeScript)
- awesome-rstack - Rstest - square&colorA=564341&colorB=EDED91" alt="npm version" /></a> | (Resources / Rstack)
README
# Rstest
Rstest is a testing framework powered by Rspack. It delivers comprehensive, first-class support for the Rspack ecosystem, enabling seamless integration into existing Rspack-based projects.
Rstest offers full Jest-compatible APIs while providing native, out-of-the-box support for TypeScript, ESM, and more, ensuring a modern and efficient testing experience.
## 💡 Current status
Rstest is currently much under active development, there are no published npm packages available at this time.
We welcome developers to clone the repository and [run it locally](./CONTRIBUTING.md) to explore its features as they are being developed. You can check some available [examples](https://github.com/web-infra-dev/rstest/tree/main/examples) in the repository to see how it works.
## 🔥 Roadmap
We plan to release a preview version for testing by June 2025, followed by the first stable release later in 2025.
More details can be found on [Rstest Roadmap](https://github.com/web-infra-dev/rstest/issues/85).
## 🙏 Credits
Rstest has been inspired by several outstanding projects in the community. We would like to acknowledge and express our sincere gratitude to the following projects:
- Several API design patterns have been influenced by [Jest](https://jestjs.io/) and [Vitest](https://vitest.dev/).
- Some functions in Rstest are referenced from Vitest, such as the `expect`, `expect.poll` and `snapshot` API, etc.
## 📖 License
Rstest is licensed under the [MIT License](https://github.com/web-infra-dev/rstest/blob/main/LICENSE).