This example is explained in the post Symfony/BDD/Behat/Tutorial: Application 01: Rivers.
##1. Preliminary step
First, you need to create and install Vagrant box
named symfony-v0.4.4
. You will find the instruction
in the post titled
Generating symfony-v0.4.4 box.
##2. Running the example
$ git clone https://github.com/by-examples/symfony-bdd-app-01-rivers.git
$ cd symfony-bdd-app-01-rivers
$ rm -rf bin/*
$ vagrant up
$ vagrant ssh
$ composer install -o
$ ./reload.bash
The command rm -rf bin/*
is necessary only when you want to run
the example again from scratch for the second time.
##3. Running the tests
$ vagrant ssh
$ ./reload.bash
$ bin/behat
##4. Visit the application with the browser
Now, you can run the web browser and visit:
http://localhost:8880/
http://localhost:8880/app_dev.php/
##5. Tests
- symfony-v0.4.4
- Windows: 2015.01.03