web-infra-dev/rstest

The JavaScript testing framework powered by Rspack

497

stars

1,498

commits

TypeScript

primary language

Sep 10, 2026

updated

rstest.rs
rsbuild
rspack
rstack
rstest
testing
testing-framework
test-tools
Browse cluster: TypeScript/JavaScript bundlers and build tools

README

Rstest Banner

Rstest

discord channel npm version downloads node version license Ask DeepWiki CodSpeed

Rstest is a JavaScript 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.

📖 Documentation

See Documentation.

🔥 Roadmap

Rstest now supports core testing scenarios including Node.js testing, DOM testing, mocking, multi-project testing, and coverage collection. It is already in active use across the Rstack ecosystem, including projects like Rspack, Rsbuild and Rslib.

The project is currently in active development, and we will continue to refine functionality and enhance the user experience based on community feedback. For future development plans, please refer to the Rstest Roadmap.

🦀 Rstack

Rstest is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.

NameDescriptionVersion
RspackBundlernpm version
RsbuildBuild toolnpm version
RslibLibrary development toolnpm version
RspressStatic site generatornpm version
RsdoctorBuild analyzernpm version
RstestTesting frameworknpm version
RslintLinternpm version

🙏 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 and Vitest.
  • 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.

Contributors

9aoy

889 commits

fi3ework

317 commits

renovate[bot]

180 commits

chenjiahan

58 commits

web-infra-dev/rstest

The JavaScript testing framework powered by Rspack

497

stars

1,498

commits

TypeScript

primary language

Sep 10, 2026

updated

rstest.rs
rsbuild
rspack
rstack
rstest
testing
testing-framework
test-tools
Browse cluster: TypeScript/JavaScript bundlers and build tools

README

Rstest Banner

Rstest

discord channel npm version downloads node version license Ask DeepWiki CodSpeed

Rstest is a JavaScript 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.

📖 Documentation

See Documentation.

🔥 Roadmap

Rstest now supports core testing scenarios including Node.js testing, DOM testing, mocking, multi-project testing, and coverage collection. It is already in active use across the Rstack ecosystem, including projects like Rspack, Rsbuild and Rslib.

The project is currently in active development, and we will continue to refine functionality and enhance the user experience based on community feedback. For future development plans, please refer to the Rstest Roadmap.

🦀 Rstack

Rstest is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.

NameDescriptionVersion
RspackBundlernpm version
RsbuildBuild toolnpm version
RslibLibrary development toolnpm version
RspressStatic site generatornpm version
RsdoctorBuild analyzernpm version
RstestTesting frameworknpm version
RslintLinternpm version

🙏 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 and Vitest.
  • 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.

Contributors

9aoy

889 commits

fi3ework

317 commits

renovate[bot]

180 commits

chenjiahan

58 commits

Languages

TypeScript

97.4%

JavaScript

2.4%