Permalink
Browse files

Add instructions for running tests

  • Loading branch information...
1 parent 1cb2f49 commit de6ef85d6137085191babf6dd4675a9a514a3a2f @karenc committed Mar 12, 2014
Showing with 16 additions and 0 deletions.
  1. +16 −0 README.rst
View
@@ -19,3 +19,19 @@ INSTALL
5. Copy development.ini.example to development.ini and change the values
6. Start the app by ``./bin/pserve development.ini``
+
+TESTS
+-----
+
+1. Copy testing.ini.example to testing.ini and change the values
+
+2. Download chrome driver (and chrome if you don't have it):
+ ``wget 'http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip'``
+
+3. Unzip chrome driver: ``unzip chromedriver_linux64.zip``
+
+4. Add chrome driver to $PATH: ``export PATH=$PATH:.``
+
+5. Make sure the $DISPLAY is set: ``export DISPLAY=:0``
+
+6. ``./bin/python setup.py test``

0 comments on commit de6ef85

Please sign in to comment.