Skip to content
DemoBundle demonstrates how to run Behat and Symfony functional tests without a need of installing bundle in a project.
PHP Cucumber HTML
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Controller
Features
Resources/views/Default
Tests
.gitignore
.travis.yml
Dockerfile
README.md
ZalasDemoBundle.php
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
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 phpunit
Something went wrong with that request. Please try again.