adamquaile / behat-php-server-extension
Extension to run PHP's built-in web server during tests
Installs: 5 950
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- behat/behat: ~3.0
- symfony/process: *
Requires (Dev)
- phpunit/phpunit: ~4.3
This package is auto-updated.
Last update: 2024-10-25 06:58:49 UTC
README
This is a proof-of-concept - use with caution!
Extension to run PHP's built-in web server during tests
Installation
Require package adamquaile/behat-php-server-extension
via composer:
composer require --dev "adamquaile/behat-php-server-extension *@dev"
Add configuration to your behat.yml
(the host
and router
keys are optional; the default host will be localhost:8000
):
default:
extensions:
AdamQuaile\Behat\PhpServerExtension:
host: 0.0.0.0:8080
docroot: ./web
router: app/router_test.php