Update README for more specific behat setup rules

Include the database and schema creation
and add phpcr initalization note
This commit is contained in:
Myke Hines 2014-01-27 10:00:53 -08:00
parent b2f6bfa43a
commit f3624154f3

View file

@ -29,6 +29,9 @@ to run Composer tool with `--dev` option:
```bash ```bash
$ php composer.phar install --dev $ php composer.phar install --dev
$ php app/console doctrine:database:create
$ php app/console doctrine:schema:create
$ php app/console doctrine:phpcr:repository:init
``` ```
[Behat](http://behat.org) scenarios [Behat](http://behat.org) scenarios
@ -48,6 +51,13 @@ Then download [Selenium Server](http://seleniumhq.org/download/), and run it.
$ java -jar selenium-server-standalone-2.39.0.jar $ java -jar selenium-server-standalone-2.39.0.jar
``` ```
Then setup your test database
```bash
$ php app/console doctrine:database:create --env=test
$ php app/console doctrine:schema:create --env=test
```
You can run Behat using the following command. You can run Behat using the following command.
```bash ```bash