Skip to content

solutionDrive/behat-standalone

Folders and files

NameName
Last commit message
Last commit date
Apr 18, 2018
Apr 18, 2018
Apr 19, 2018
Apr 23, 2018
Apr 18, 2018
May 9, 2018
Nov 12, 2018
Nov 12, 2018
Oct 5, 2018

Repository files navigation

behat-standalone

Builds a phar containing a full behat installation that contains some other useful goodies.

Usage

To create the phar, you need to install kherge/box globally: (The global composer bin path needs to be available in $PATH)

composer global require kherge/box

Install the dependencies

composer install --optimize-autoloader -n

Create the phar file

box build -c box.json

Perhaps it is necessary to allow php to create a phar

php -d phar.readonly=0 ~/.composer/vendor/bin/box build -c box.json

The newly created phar file can be used just like the behat binary is used:

behat-standalone.phar --help

Thanks

Phar creation is inspired by: https://andreas.heigl.org/2017/01/18/building-a-phar-automated/

About

Standalone rich behat installation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published