Download the PHP package libresign/behat-builtin-extension without Composer
On this page you can find all versions of the php package libresign/behat-builtin-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download libresign/behat-builtin-extension
More information about libresign/behat-builtin-extension
Files in libresign/behat-builtin-extension
Download libresign/behat-builtin-extension
More information about libresign/behat-builtin-extension
Files in libresign/behat-builtin-extension
Vendor libresign
Package behat-builtin-extension
Short Description Behat extension to run php built-in web server
License AGPL-3.0+
Package behat-builtin-extension
Short Description Behat extension to run php built-in web server
License AGPL-3.0+
Please rate this library. Is it a good library?
Informations about the package behat-builtin-extension
Extension to use built-in PHP server on Behat tests
Instalation
Configuration
Add the extension to your behat.yml:
Config values
| config | default | Environment | Description |
|---|---|---|---|
| verbose | false | BEHAT_VERBOSE | Enables/disables verbose mode |
| rootDir | /var/www/html | BEHAT_ROOT_DIR | Specifies http root dir |
| host | localhost | BEHAT_HOST | Host domain or IP |
| runAs | BEHAT_RUN_AS | The username to be used to run the built-in server | |
| workers | 0 | BEHAT_WORKERS | The quantity of workers to use. More informations here searching by PHP_CLI_SERVER_WORKERS |
You can also use -v option to enable verbose mode. Example
The verbose mode will show:
- The rootDir, host, runAs and workers used
- When the PHP built-in server starts: PID, host, port, worker count and log path
- PHP built-in server stdout/stderr captured for the suite
- Process exit status when the server terminates
- A clear message when teardown finds that the server process is already gone (instead of only
kill: No such process)
Usage example
All versions of behat-builtin-extension with dependencies
PHP Build Version
Package Version
Requires
behat/behat Version
^4.0
composer/xdebug-handler Version ^1.4 || ^2.0 || ^3.0
ext-sockets Version *
php Version >=8.2
symfony/config Version ^6.4 || ^7.0
symfony/console Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/event-dispatcher Version ^6.4 || ^7.0
composer/xdebug-handler Version ^1.4 || ^2.0 || ^3.0
ext-sockets Version *
php Version >=8.2
symfony/config Version ^6.4 || ^7.0
symfony/console Version ^6.4 || ^7.0
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/event-dispatcher Version ^6.4 || ^7.0
The package libresign/behat-builtin-extension contains the following files
Loading the files please wait ...