ReviewOS

also looking at this

zig-utils/zig-test-framework

Make watch mode rerun affected tests

#28
Merged glennmichael123 wants to merge codex/issue-11-watch-affected into main
5 files +621 -105
9 days ago

Closes #11

Summary

  • replace the inert watch stub with portable source and test snapshots
  • rerun changed or newly added tests directly and map source edits through transitive relative imports
  • fall back to the full suite for deletions, renames, unresolved module imports, and unmapped source changes
  • retain debounce behavior, print every selection reason, and add the interactive r full-rerun command
  • document the affected-test strategy and safe fallback rules

Verification

  • zig fmt --check .
  • zig build test
  • zig build examples
  • zig build -Dtarget=x86_64-windows

5 changed files on the files tab, with 0 review threads.

Sign in to comment on this pull request.