Skip to content

File Modifications During Test Execution #43

@gunar

Description

@gunar

I'd like to request a feature / bugfix. When tests are undergoing, and files are changed mid run, ptw should queue another run immediately next.

Actual vs Expected:

  1. I change a file
  2. `ptw` identifies it and triggers a test run
  3. Tests start running (integration tests take longer)
  4. I change another file before tests finish running
  5. `ptw` logs `[ptw] ./path/myfile.py modified`
- 6. `ptw` finishes the test run and waits for new file changes
+ 6. `ptw` immediately starts another test run since files were changed during the previous run

Bonus: ptw could stop the current test run and start from scratch (i.e. no need to wait for the previous run to finish).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions