Skip to content

Rstest Roadmap #85

Open
Open
@9aoy

Description

@9aoy

Rstest is currently under active development, and we plan to release a preview version with most of the basic features for testing by June 2025, and support more advanced features and further features in subsequent iterations. The first stable version will be released in late 2025.

Rstest features track

Basic Features

  • Expect API (Jest Compatible)
  • Lifecycle hooks (beforeAll、beforeEach、afterAll, etc.)
  • Setup files
  • Snapshot testing (Jest Compatible)
  • Source map
  • Test API (describe、test、only、each, etc.) 🚧
  • Spy & Rstest utility (rstest.spyOnrstest.fnrstest.waitFor, etc.) 🚧
  • CLI
    • rstest run
    • rstest watch
    • rstest list
    • rstest init
  • Watch mode 🚧
  • CLI shortcuts
  • Coverage
    • v8
    • istanbul
  • Mocking 🚧
  • Auto Mock
  • Pool & isolated
    • forks
    • vmForks
    • threads
    • vmThreads
  • Environment
    • node
    • jsdom
    • happy-dom
    • custom environment
  • Default Reporter 🚧
  • ESM support
  • Out-of-the-box TypeScript / JSX support
  • Config
    • Test configuration support, such as include, pool, setupFiles, etc. 🚧
    • Build configuration support, such as resolve, transform, external, etc (based on rsbuild).
  • Integration
    • Out-of-the-box Rsbuild testing support
    • Out-of-the-box Rslib testing support
    • Out-of-the-box Rspack testing support
  • In-source testing
  • API Documentation

Advanced Features

  • Workspace
  • Out-of-the-box Lynx testing support
  • Rsdoctor integration
  • More builtin reporters & Stablize Reporter API
    • HTML Reporter
    • JSON Reporter
    • GitHub Actions Reporter
    • Summary Reporter
    • Custom Reporter
  • Rstest UI (Provide UI to view and interact with tests)
  • VS Code extension
  • Test Sharding & merge reports
  • Support filter tests via related source files

Further Features

  • Browser Mode
  • Benchmark testing
  • Type testing
  • AI Exploration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions