Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Rstest
[go: Go Back, main page]

close
background

Rstest

Rspack-based Testing Framework

Provide first-class support for Rspack ecosystem

GitHubGitHub
♻️

Reuse your build setup

Use existing Rsbuild or Rspack config so aliases, transforms, and plugins stay consistent in tests.

🎯

Test through the build pipeline

Run tests through Rspack's bundling model to match production behavior more closely.

Fast by design

Rspack-powered bundling keeps startup and reruns fast, even in larger projects.

🧠

Modern by default

TypeScript, ESM, CJS, CSS Modules, and modern JavaScript work out of the box.

🧰

Testing essentials included

Assertions, snapshots, mocks, coverage, and lifecycle hooks are ready when you start.

🌐

Real browser testing

Run tests in Chromium, Firefox, or WebKit through Playwright when jsdom isn't enough.