brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
migrate-to-rstestMigrate Jest, Vitest, or Playwright Test to Rstest while preserving test discovery, assertions, mocks, snapshots, and coverage.
Independent GitHub snapshot · Automated classification · Original documentation governs
Migrate the smallest runnable Jest, Vitest, or Playwright Test scope with minimal behavior change. Use documentation and types that match the installed Rstest version; use latest online docs only after the capability gate confirms they apply.
references/detect-test-framework.md.references/dependency-install-gate.md before choosing Rstest, coverage, adapter, or plugin APIs.references/discovery-parity.md throughout the migration.references/jest-migration-deltas.md; for Vitest read references/vitest-migration-deltas.md; for global APIs also read references/global-api-migration.md; for a detected Playwright Test runner read references/playwright-migration-deltas.md. Do not load the Playwright path for a browser-only request whose runner is not Playwright Test. Migrate scripts, config, and setup before editing test bodies; prefer adapter or Rsbuild/Rspack fixes over broad test rewrites.[MODULE_TYPELESS_PACKAGE_JSON], use references/config-module-type.md. Do not suppress the warning or change the whole package module type without an audit.unchecked validation in references/jest-migration-deltas.md.rstest-debugging skill when available. Otherwise use the migration fallback in references/performance-diagnosis.md, then read references/dependency-bundling-performance.md and/or references/mocked-module-build-graph.md according to the measured bottleneck. Change one variable at a time.jest/vi shims or aliases; rewrite call sites with references/global-api-migration.md.rstest / rstest run is single-run; watch mode is rstest --watch or rstest watch.globals defaults to false; preserving global APIs requires globals: true and @rstest/core/globals types.rs.mock() is runtime replacement and does not by itself prune the real module graph.