Run PHPUnit Tests
run_phpunitRun PHPUnit tests with support for specific paths, filter patterns, and human-readable testdox output. Optionally generate code coverage reports.
Instructions
Proje için PHPUnit testlerini çalıştırır. Test yolu, filtre ve testdox formatı desteklenir. Coverage raporu opsiyoneldir.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_phpunit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Belirli bir test dosyası veya dizini. Boş bırakılırsa phpunit.xml kullanılır. | |
| filter | No | --filter değeri. Örnek: testUserCreation | |
| testdox | No | İnsan-okunabilir test listesi (--testdox). Varsayılan: true. | |
| coverage | No | Coverage raporu üret (Xdebug/PCOV gerekir). | |
| projectPath | No | İsteğe bağlı proje kökü (otomatik tespit edilir). | |
| coverageDriver | No | Coverage sürücüsü. PCOV daha hızlıdır. | pcov |