No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
00-extra
app
data
features
src
web
.gitattributes
.gitignore
LICENSE
README.md
Vagrantfile
behat.yml
composer.json
composer.lock

README.md

How to run the project?

This example is explained in the post Symfony/BDD example 03: fixtures.

##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-example-03-fixtures.git
$ cd symfony-bdd-example-03-fixtures
$ vagrant up
$ vagrant ssh
$ composer install -o
$ php app/console doctrine:schema:update --force
$ php app/console doctrine:fixtures:load -n

##3. Running the tests

$ vagrant ssh
$ php app/console cache:clear --env=prod
$ 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/