# Migrate to Rstest

> Move Jest, Vitest or Playwright Test suites to Rstest

**Subcategory:** Rstack  
**License:** MIT  
**Source:** https://github.com/rstackjs/agent-skills/blob/1ccaad5ecc44c19baebba0947a9dff05756d9e6c/skills/migrate-to-rstest/SKILL.md

---

## When it is useful

Moving Jest, Vitest or Playwright Test suites to Rstest while keeping discovery, assertions, mocks, snapshots and coverage.

## The Catch

Skills and tools MIT (ByteDance web-infra). $0 npm, no SaaS — the catch is lock-in to ByteDance's Rust toolchain: webpack-compatible but not 100% (some webpack plugins/loaders don't work). Rstest is young — expect gaps vs Jest/Vitest ecosystems; keep the old runner until CI parity is proven.
