DemoBundle demonstrates how to run Behat scenarios and Symfony functional tests without installing the bundle in a project.
To try it yourself clone the repository:
git clone git@github.com:jakzal/DemoBundle.git
cd DemoBundle
and install dependencies with composer:
composer install
Run Behat scenarios and functional tests:
./vendor/bin/behat
./vendor/bin/phpunit
docker-compose build
docker-compose run --rm demo-bundle composer install
docker-compose run --rm demo-bundle ./vendor/bin/behat
docker-compose run --rm demo-bundle ./vendor/bin/phpunit