FREEDOM251

Freedom251 › JavaScript Testing Frameworks

Rstest

Free plan ExtensionWeb

Visit Rstest Alternatives Pricing

Rstest's own site

What Rstest is

Rstest is a free, open-source framework for testing JavaScript and TypeScript projects. It builds on Rsbuild and Rspack, using Rspack’s dependency-graph pipeline to bundle tests and SWC transforms to process them. It can use configuration from Rsbuild, Rslib, or Rspack, including aliases, transforms, and plugins. Tests can run in Node.js, simulated DOMs through jsdom or happy-dom, and real browsers. Browser Mode uses Playwright for Chromium, Firefox, and WebKit; the Playwright integration can also run end-to-end tests against local, preview, or deployed URLs. Rstest can load Module Federation remotes in Node, JSDOM, and Browser Mode tests. Testing tools include Jest-compatible assertions, snapshots, mocks, spies, isolation, lifecycle hooks, reporters, and filtering. For CI, it supports multi-project runs, sharding, merged blob reports, and coverage thresholds. The Rstack VS Code extension provides ways to browse, run, and debug tests. Quick start requires Node.js 20.19.0 or newer; the Node.js LTS version is recommended. Rstest is released under the MIT license.

Who it suits

Rstest suits JavaScript and TypeScript teams that want tests across Node.js, simulated DOMs, or real browsers, including teams running multi-project CI workflows. It also fits developers using the Rsbuild, Rslib, or Rspack configuration ecosystem.

What it does well

  • Runs tests in Node.js, simulated DOMs, and real browsers
  • Supports Chromium, Firefox, and WebKit through Playwright
  • Includes snapshots, mocks, spies, and coverage reporting
  • Supports sharding and coverage thresholds for CI
  • Free and open source under the MIT license

What to know first

  • Quick start requires Node.js 20.19.0 or newer
  • Recommends using the Node.js LTS version

Limits

The quick start requires Node.js version 20.19.0 or newer and recommends the Node.js LTS version.

Plans

PlanBilled and limitsPrice
Free and open sourceMIT license · JavaScript/TypeScript testing frameworkFree

As rstest.rs lists them, read 30 Sept 2026. The maker's own page has the final word.

Getting started

  1. Visit https://rstest.rs/.
  2. Use Node.js version 20.19.0 or newer; the project recommends the LTS version.
  3. Reuse configuration from Rsbuild, Rslib, or Rspack if applicable.
  4. Use the Rstack VS Code extension to browse, run, and debug tests in VS Code.

Verdict

Rstest combines several test environments with build-configuration reuse and CI features. It is free under the MIT license, but its quick-start requirement is Node.js 20.19.0 or newer.

Questions

Is Rstest free?

Yes. It is listed as free and is released under the MIT license.

Which languages does it support?

Rstest is a testing framework for JavaScript and TypeScript.

Where can tests run?

Tests can run in Node.js, jsdom or happy-dom simulated DOM environments, and real browsers. Browser Mode uses Playwright with Chromium, Firefox, and WebKit.

What Node.js version does quick start require?

Quick start requires Node.js 20.19.0 or newer and recommends the Node.js LTS version.

Can it run end-to-end tests?

The @rstest/playwright integration runs E2E tests against local, preview, or deployed URLs.

Is there a VS Code integration?

The Rstack VS Code extension lets users browse, run, and debug Rstest tests.

Facts from Rstest's own pages

Browser support
Browser Mode uses Playwright and can run tests in Chromium, Firefox, and WebKit. · rstest.rs, 30 Sept 2026
Build integration
Rstest can reuse Rsbuild, Rslib, or Rspack configuration, including aliases, transforms, and plugins. · rstest.rs, 30 Sept 2026
CI scaling
It supports multi-project testing, test sharding, blob report merging, and coverage thresholds for CI workflows. · rstest.rs, 30 Sept 2026
Editor integration
The Rstack VS Code extension lets users browse, run, and debug Rstest tests inside VS Code. · rstest.rs, 30 Sept 2026
End-to-end testing
The @rstest/playwright integration runs E2E tests against local, preview, or deployed URLs. · rstest.rs, 30 Sept 2026
Execution model
It bundles tests through Rspack's dependency-graph-based build pipeline and uses SWC transforms. · rstest.rs, 30 Sept 2026
License
Rstest is free and open source software released under the MIT license. · rstest.rs, 30 Sept 2026
Module Federation
Rstest can load real Module Federation remotes in Node, JSDOM, and Browser Mode tests through @module-federation/rstest. · rstest.rs, 30 Sept 2026
Purpose
Rstest is a JavaScript and TypeScript testing framework built on Rsbuild and Rspack. · rstest.rs, 30 Sept 2026
Runtime requirement
The quick start requires Node.js version 20.19.0 or newer and recommends the Node.js LTS version. · rstest.rs, 30 Sept 2026
Test environments
It runs tests in Node.js, simulated DOM environments using jsdom or happy-dom, and real browsers. · rstest.rs, 30 Sept 2026
Testing features
Built-in capabilities include Jest-compatible assertions, snapshots, mocks, spies, file-level isolation, lifecycle hooks, reporters, and test filtering. · rstest.rs, 30 Sept 2026

Where Rstest stands on Freedom251

Look at these too