Skip to content
项目

关于

由 Rspack 驱动的 JavaScript 测试框架

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
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.

Name Description Version
Rspack Bundler npm version
Rsbuild Build tool npm version
Rslib Library development tool npm version
Rspress Static site generator npm version
Rsdoctor Build analyzer npm version
Rstest Testing framework npm version
Rslint Linter npm version
Rstack CLI Unified CLI npm 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.

探索相关项目

加载中…