Skip to content

Commit 0dec425

Browse files
committed
test watcher
1 parent 0f45eff commit 0dec425

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.phpunit-watcher.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
notifications:
2+
passingTests: false
3+
failingTests: false

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"psr/log": "^3.0.2",
3636
"rector/rector": "^2.0.10",
3737
"sentry/sentry": "^4.10.0",
38+
"spatie/phpunit-watcher": "^1.24",
3839
"symfony/http-client": "^7.2.4"
3940
},
4041
"autoload": {
@@ -56,6 +57,10 @@
5657
"analyse": "vendor/bin/phpstan analyse",
5758
"test": "vendor/bin/phpunit",
5859
"test-coverage": "vendor/bin/phpunit --coverage",
60+
"test:watch": [
61+
"Composer\\Config::disableProcessTimeout",
62+
"./vendor/bin/phpunit-watcher watch < /dev/tty"
63+
],
5964
"format": "vendor/bin/pint",
6065
"rector": "vendor/bin/rector process"
6166
},

0 commit comments

Comments
 (0)