Permalink
Browse files

Update README for more specific behat setup rules

Include the database and schema creation
and add phpcr initalization note
  • Loading branch information...
1 parent b2f6bfa commit f3624154f3181c09ae506c7a1b95bb8baf5622c9 @mykehsd mykehsd committed Jan 27, 2014
Showing with 10 additions and 0 deletions.
  1. +10 −0 README.md
View
10 README.md
@@ -29,6 +29,9 @@ to run Composer tool with `--dev` option:
```bash
$ 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
@@ -48,6 +51,13 @@ Then download [Selenium Server](http://seleniumhq.org/download/), and run it.
$ 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.
```bash

0 comments on commit f362415

Please sign in to comment.