$ curl -sS https://getcomposer.org/installer | php
$ mv composer.phar /usr/local/bin/composer
You can read the official documentation here
To install behat and other dependencies run the following command on the project root:
$ composer install
run the following command:
$ cp default.behat.yml behat.yml
Edit behat.yml file and customize your base_url
Create a database, but keep it empty
$ mysqladmin -uroot -p create phplisttestdb
$ mysqladmin -uroot -p -e "grant all on phplisttestdb.* to phplist@localhost identified by 'testpassword'"
edit your phplist config file to use these details
Execute the following command:
$ vendor/bin/behat
Add writing tests documentation.