mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-19 08:25:44 +03:00
Tests: Setup PHPUnit and PHPUnit Watcher.
This commit is contained in:
parent
65bd3ad5af
commit
eec9f5cb61
6 changed files with 2496 additions and 0 deletions
28
plugins/wporg-5ftf/composer.json
Normal file
28
plugins/wporg-5ftf/composer.json
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"name" : "wordpress/five-for-the-future",
|
||||
"description" : "Five for the Future plugin",
|
||||
"license" : "GPL-2.0-or-later",
|
||||
|
||||
"authors" : [
|
||||
{
|
||||
"name" : "WordPress",
|
||||
"email" : "support@wordcamp.org"
|
||||
}
|
||||
],
|
||||
|
||||
"config" : {
|
||||
"_comment": "Work around `test:watch` timeout, see https://github.com/spatie/phpunit-watcher/issues/63#issuecomment-545633709",
|
||||
"process-timeout": 0
|
||||
},
|
||||
|
||||
"require" : { },
|
||||
"require-dev" : {
|
||||
"phpunit/phpunit" : "^7",
|
||||
"spatie/phpunit-watcher" : "^1.12"
|
||||
},
|
||||
|
||||
"scripts" : {
|
||||
"test" : "vendor/bin/phpunit",
|
||||
"test:watch" : "vendor/bin/phpunit-watcher watch"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue