DemoBundle demonstrates how to run Behat and Symfony functional tests without a need of installing bundle in a project.
PHP Gherkin HTML
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
features
src
tests
.gitignore
.travis.yml
Dockerfile
README.md
behat.yml
composer.json
docker-compose.yml
phpunit.xml.dist

README.md

DemoBundle

Build Status SensioLabsInsight

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

Using docker compose

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