Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11 from davehunt/update-readme
Update readme
  • Loading branch information
Stephen Donner committed Feb 17, 2012
2 parents 96ab040 + d60d217 commit 9803c47
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions README.md
Expand Up @@ -6,11 +6,6 @@ Automated tests for the QMO website.
Running Tests
-------------

### Java
You will need a version of the [Java Runtime Environment][JRE] installed

[JRE]: http://www.oracle.com/technetwork/java/javase/downloads/index.html

### Python
Before you will be able to run these tests you will need to have Python 2.6 installed.

Expand All @@ -30,20 +25,13 @@ If you are running on Ubuntu/Debian you will need to do following first

to install the required Python libraries.

### Selenium Grid
Once this is all set up you will need to download and start a Selenium Grid instance. Probably the simplest way to do this is to clone the [moz-grid-config][MozGridConfig] repository and follow the instructions in the README to start both a hub and webdriver instance.

[MozGridConfig]: https://github.com/mozilla/moz-grid-config/tree/grid2

### Running tests locally

To run tests locally its a simple case of calling the command below from this directory

py.test --browsername=<BROWSER_NAME> --browserver=<BROWSER_VERSION> --platform=<PLATFORM> tests

All parameters are required, and depend on the environments provided by your Selenium Grid instance. For example:
py.test --driver=firefox

py.test --browsername=FIREFOX --browserver=4.0 --platform=MAC tests
For more command line options see https://github.com/davehunt/pytest-mozwebqa

Writing Tests
-------------
Expand All @@ -56,7 +44,7 @@ we'd like to ask you to do:
3. Fork this project with your own GitHub account
4. Make sure all tests are passing, and submit a pull request with your changes

[GitHub Templates]: https://github.com/AutomatedTester/mozwebqa-test-templates
[GitHub Templates]: https://github.com/mozilla/mozwebqa-test-templates
[Style Guide]: https://wiki.mozilla.org/QA/Execution/Web_Testing/Docs/Automation/StyleGuide

License
Expand Down

0 comments on commit 9803c47

Please sign in to comment.