Skip to content

[Bug]: tip No test files need re-run when test-unrelated files are changed #784

@9aoy

Description

@9aoy

Version

Rstest v0.7.5

Details

Tip No test files need re-run when test-unrelated files are changed.

Currently, Rstest watch mode relies on rspack's contextDependencies to watch file changes. It currently watch the root directory, which will cause some test-unrelated files changes in the root directory to trigger an rspack rebuild (rstest rerun).

Image

Reproduce Steps

  • pnpm run dev
  • pnpm run test
  • update source code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions