Skip to content

Commit 4cc40af

Browse files
Merge pull request #98
Add Xdebug-specific testing scripts: `test:coverage` and `test:profile`.
2 parents c31555b + 13c9ee7 commit 4cc40af

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
"sort-packages": true
6767
},
6868
"scripts": {
69-
"test": "vendor/bin/pest"
69+
"test": "php -d xdebug.mode=off -d xdebug.start_with_request=no vendor/bin/pest",
70+
"test:coverage": "php -d xdebug.mode=coverage -d xdebug.start_with_request=no vendor/bin/pest --coverage",
71+
"test:profile": "php -d xdebug.mode=profile -d xdebug.start_with_request=no vendor/bin/pest"
7072
}
7173
}

0 commit comments

Comments
 (0)