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
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
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 06: error 404.

##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-06-error404.git
$ cd symfony-bdd-example-06-error404
$ vagrant up
$ vagrant ssh
$ composer install -o

##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/a/b/c
http://localhost:8880/app_dev.php/a/b/c

http://localhost:8880/action/with/exception
http://localhost:8880/app_dev.php/action/with/exception