DemoBundle demonstrates how to run Behat scenarios and Symfony functional tests without installing the bundle in a project.
To try it yourself clone a repository
git clone git@github.com:jakzal/DemoBundle.git
cd DemoBundle
and install the dependencies with composer:
curl -s http://getcomposer.org/installer | php
php composer.phar --dev install
Run the Behat scenarios and functional tests:
./vendor/bin/behat
phpunit