Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions languages/php/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,36 @@
"args": ["--filter", "\"$ZED_SYMBOL\"", "$ZED_FILE"],
"tags": ["phpunit-test"]
},
{
"label": "phpunit test $ZED_FILENAME",
"command": "./vendor/bin/phpunit",
"args": ["$ZED_FILE"],
"tags": ["phpunit-test"]
},
{
"label": "phpunit run all tests",
"command": "./vendor/bin/phpunit",
"args": [],
"tags": ["phpunit-test"]
},
{
"label": "pest test $ZED_SYMBOL",
"command": "./vendor/bin/pest",
"args": ["--filter", "\"$ZED_SYMBOL\"", "$ZED_FILE"],
"tags": ["pest-test"]
},
{
"label": "pest test $ZED_FILENAME",
"command": "./vendor/bin/pest",
"args": ["$ZED_FILE"],
"tags": ["pest-test"]
},
{
"label": "pest run all tests",
"command": "./vendor/bin/pest",
"args": [],
"tags": ["pest-test"]
},
{
"label": "execute selection $ZED_SELECTED_TEXT",
"command": "php",
Expand Down