Permalink
Browse files

Merge pull request #111 from nicam/master

updated documentation
  • Loading branch information...
2 parents 4f9e6ff + 1112ff6 commit 4ca9a9363fc02df31a8c8ec84efc1e1c87a897a7 @lsmith77 lsmith77 committed Feb 21, 2012
Showing with 13 additions and 2 deletions.
  1. +13 −2 README.md
View
@@ -22,8 +22,7 @@ PHPCR ODM for Doctrine2
* php >= 5.3
* libxml version >= 2.7.0 (due to a bug in libxml [http://bugs.php.net/bug.php?id=36501](http://bugs.php.net/bug.php?id=36501))
-* phpunit >= 3.6 (if you want to run the tests)
-
+* phpunit >= 3.6 and wget (if you want to run the tests)
# Installation
@@ -78,6 +77,18 @@ We provide a command that makes it trivial to register this type and the phpcr n
php bin/phpcr doctrine:phpcr:register-system-node-types
+## Running the tests
+This examples shows how to run the tests for jackrabbit. You can run the tests for the other backends (doctrine_dbal, midgard_mysql, midgard_sqlite)
+by replacing jackrabbit with the same commands. Just replace jackrabbit with the name of the backend you want to run.
+
+1. Make sure you have installed the submodules
+2. Run this command to download jackrabbit and launch it (requires wget)
+
+ ./tests/travis_jackrabbit.sh
+
+3. Run the tests:
+
+ phpunit -c tests/phpunit_jackrabbit.xml.dist
# Bootstrapping

0 comments on commit 4ca9a93

Please sign in to comment.