Codeception extension for starting and stopping php built-in server
- Codeception 1.6.4
- PHP 5.4
- Install Codeception via Composer
- Add
codeception/phpbuiltinserver: "*"
to yourcomposer.json
- Run
composer install
- Include extensions into
codeception.yml
configuration:
paths:
tests: .
log: _log
data: _data
helpers: _helpers
extensions:
enabled:
- Codeception\Extension\PhpBuiltinServer
config:
Codeception\Extension\PhpBuiltinServer:
hostname: localhost
port: 8000
documentRoot: _data
paths:
tests: .
log: _log
data: _data
helpers: _helpers
extensions:
enabled:
- Codeception\Extension\PhpBuiltinServer
config:
Codeception\Extension\PhpBuiltinServer:
hostname: localhost
port: 8000
documentRoot: ../web
router: ../web/app.php
directoryIndex: app.php