Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated README.

  • Loading branch information...
commit c3076b36ce910bf217f1f152459d3d2ad4c99fe2 1 parent c2943b3
@davehunt davehunt authored
Showing with 13 additions and 9 deletions.
  1. +13 −9 README.md
View
22 README.md
@@ -20,29 +20,33 @@ Run
followed by
- sudo pip install nose
- sudo pip install selenium
+ sudo pip install -r requirements/mozwebqa.txt
+
+__note__
+
+If you are running on Ubuntu/Debian you will need to do following first
+
+ sudo apt-get install python-setuptools
to install the required Python libraries.
### Selenium
-Once this is all set up you will need to download and start a Selenium server. You can download the latest Selenium server from [here][Selenium Downloads]. The filename will be something like 'selenium-server-standalone-2.0b1.jar'
+Once this is all set up you will need to download and start a Selenium server. You can download the latest Selenium server from [here][Selenium Downloads]. The filename will be something like 'selenium-server-standalone-2.0b3.jar'
To start the Selenium server run the following command:
- java -jar ~/Downloads/selenium-server-standalone-2.0b1.jar
+ java -jar ~/Downloads/selenium-server-standalone-2.0b3.jar
Change the path/name to the downloaded Selenium server file.
[Selenium Downloads]: http://code.google.com/p/selenium/downloads/list
-### vars.py
-Edit the vars.py file to specify the browser you will want to run your tests in. Common values are *\*firefox*, *\*safari*, *\*iexplore*, *\*googlechrome*
+### Running tests locally
+
+To run tests locally its a simple case of calling the command below from this directory
-Once the above prerequisites have been met you can run the tests using the
-following command:
+ py.test .
- nosetests .
Writing Tests
-------------
Please sign in to comment.
Something went wrong with that request. Please try again.