keszei/phpunit-watcher

Run phpunit project test while file changes.

1.1.0 2022-09-28 11:57 UTC

This package is not auto-updated.

Last update: 2024-04-25 01:30:49 UTC


README

This library provide a function for automatically run phpunit test while file changes.

Getting Started

You need to install before the phpunit to your project. I tested with phpunit >=7 version, but maybe it works with older ones too. The script look for in your project the phpunit and use too.

Requirements

  • PHP >= 7.3
  • inotify php extension
  • Linux like system where inotify extension is available
  • phpunit/phpunit composer package

Prerequisites

You need to install phpunit library.

composer require phpunit/phpunit --dev 

Installing

Install phpunit-watcher library with composer.

composer require keszei/phpunit-watcher --dev

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details