镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Repository files navigation

Watch Phpunit

Installation

composer require backendtea/watch-phpunit --dev

What is this

The intention of this application is to 'watch' for file changes, and run the tests related to files that have been changed since the last git commit. This does mean that in its current form it needs to be in a git repository.

It figures out what classes depend on each other, and then runs the tests related to the changed files.

Usage

$ vendor/bin/watch-phpunit watch --src ./src --test ./tests

(src and tests are the default values, so if your folder structure matches this, you can run it like so:)

$ vendor/bin/watch-phpunit watch

About

Run tests for changed files

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages