Skip to:
Content

BuddyPress.org

Changeset 13739


Ignore:
Timestamp:
02/23/2024 12:00:19 AM (8 weeks ago)
Author:
espellcaste
Message:

Adding phpunit-watcher. A tool to automatically rerun PHPUnit tests when source code changes.

This is a useful tool in the development of BuddyPress.

Props iandunn
fixes #6382
closes https://github.com/buddypress/buddypress/pull/233

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/composer.json

    r13720 r13739  
    4747    "require-dev": {
    4848        "buddypress/bp-coding-standards": "dev-trunk",
    49         "yoast/phpunit-polyfills": "^1.0"
     49        "yoast/phpunit-polyfills": "^1.0",
     50        "spatie/phpunit-watcher": "^1.23"
    5051    },
    5152    "scripts": {
    5253        "test": "@php ./vendor/phpunit/phpunit/phpunit",
    5354        "test_multi": "@php ./vendor/phpunit/phpunit/phpunit -c tests/phpunit/multisite.xml",
    54         "phpcs": "@php ./vendor/bin/phpcs"
     55        "phpcs": "@php ./vendor/bin/phpcs",
     56        "test:watch": [
     57            "Composer\\Config::disableProcessTimeout",
     58            "phpunit-watcher watch"
     59        ]
    5560    }
    5661}
Note: See TracChangeset for help on using the changeset viewer.