Skip to content

Make watch mode rerun only affected tests #11

Closed

Description

@glennmichael123

Motivation

Watch mode currently reruns the discovered test set after changes. As projects grow, rerunning unaffected tests makes the feedback loop slow.

Proposed work

  • Track source and test file changes between runs.
  • Immediately rerun a changed test file.
  • Add a dependency strategy for mapping changed source files to affected tests.
  • Fall back safely to the full suite when dependency information is unavailable.
  • Preserve debounce behavior and expose why each test was selected.

Acceptance criteria

  • Editing one test file reruns only that file by default.
  • Source changes use documented affected-test behavior.
  • Deletes, renames, and newly added tests are handled.
  • A full-rerun command remains available in watch mode.

Activity

  1. glennmichael123 commented on Sep 30, 2026

    @glennmichael123
    ContributorAuthor

    Implemented and rebase-merged in #28 after the full Linux, macOS, Windows, formatting, documentation, and coverage matrix passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions