pestphp / pestphp/pest

[Feature request] Watch for changes

Open
#1,505 4 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
11.7k
Forks
538
Avg merge
4d 11h
Merged PRs (30d)
8

Description

User story

  • AS A software engineer doing test-driven development,
  • I WANT TO run Pest with a --watch flag and let Pest watch for changes and re-run tests,
  • SO THAT I don't need to switch to the terminal and manually re-run the tests after every single code change.

Acceptance criteria

  • GIVEN I have run Pest with a --watch flag,
  • WHEN I make a code change,
  • THEN the tests are automatically re-run.

Context

There was a plugin called pestphp/pest-plugin-watch, and that worked very well, but it has been deprecated and archived. It is not compatible with Pest v4. We need first-class support for the ability to watch for changes and re-run the tests.

Related

#1376

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the requirements in this issue and the related issue #1376, then investigate how Pest handles command-line flags and test execution. Done means Pest v4 accepts --watch, detects code changes, and automatically re-runs the tests without manual terminal intervention.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.