This repository has been archived by the owner on Dec 1, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from stephendonner/decomm
Deactivate project and add note to README
- Loading branch information
Showing
13 changed files
with
1 addition
and
222 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1 @@ | ||
# Tests for Mozilla's Hello | ||
This repository contains tests for [Mozilla's Hello](https://hello.firefox.com/). | ||
|
||
[![license](https://img.shields.io/badge/license-MPL%202.0-blue.svg)](https://github.com/mozilla/hello-tests/blob/master/LICENSE) | ||
[![travis](https://img.shields.io/travis/mozilla/hello-tests.svg?label=travis)](http://travis-ci.org/mozilla/hello-tests/) | ||
[![requirements](https://img.shields.io/requires/github/mozilla/hello-tests.svg)](https://requires.io/github/mozilla/hello-tests/requirements/?branch=master) | ||
|
||
## Getting involved | ||
We love working with contributors to fill out the test coverage for Hello, | ||
but it does require a few skills. By contributing to our test suite you will | ||
have an opportunity to learn and/or improve your skills with Python, Selenium | ||
WebDriver, GitHub, virtual environments, the Page Object Model, and more. | ||
|
||
For some resources for learning about these technologies, take a look at our | ||
documentation on [running Web QA automated tests][running-tests]. | ||
|
||
All of [these awesome contributors][contributors] have opened pull requests against this | ||
repository. | ||
|
||
## Questions are always welcome | ||
While we take pains to keep our documentation updated, the best source of | ||
information is those of us who work on the project. Don't be afraid to join us | ||
in irc.mozilla.org [#mozwebqa][irc] to ask questions about our tests. We also | ||
have a [mailing list][list] available that you are welcome to join and post to. | ||
|
||
## How to run the tests locally | ||
We maintain a [detailed guide][running-tests] to running our automated tests. | ||
However, if you want to get started quickly, you can try following the steps | ||
below: | ||
|
||
### Clone the repository | ||
If you have cloned this project already then you can skip this, otherwise you'll | ||
need to clone this repo using Git. If you do not know how to clone a GitHub | ||
repository, check out this [help page][git-clone] from GitHub. | ||
|
||
If you think you would like to contribute to the tests by writing or maintaining | ||
them in the future, it would be a good idea to create a fork of this repository | ||
first, and then clone that. GitHub also has great documentation for | ||
[forking a repository][git-fork]. | ||
|
||
### Create or activate a Python virtual environment | ||
You should install this project's dependencies (which is described in the next | ||
step) into a virtual environment in order to avoid impacting the rest of your | ||
system, and to make problem solving easier. If you already have a virtual | ||
environment for these tests, then you should activate it, otherwise you should | ||
create a new one. For more information on working with virtual environments see | ||
our [summary][virtualenv]. | ||
|
||
### Install dependencies | ||
Install the Python packages that are needed to run our tests using pip. In a | ||
terminal, from the the project root, issue the following command: | ||
|
||
```bash | ||
$ pip install -Ur requirements.txt | ||
``` | ||
|
||
### Run the tests | ||
Tests are run using the command line. Below are a couple of examples of running | ||
the tests: | ||
|
||
To run all of the desktop tests against the default environment: | ||
|
||
```bash | ||
$ py.test --driver Firefox | ||
``` | ||
|
||
To run against a different environment, pass in a value for `--base-url`, like so: | ||
|
||
```bash | ||
$ py.test --base-url https://hello.firefox.com --driver Firefox | ||
``` | ||
|
||
The pytest plugin that we use for running tests has a number of advanced | ||
command line options available. To see the options available, run | ||
`py.test --help`. The full documentation for the plugin can be found | ||
[here][pytest-selenium]. | ||
|
||
[contributors]: https://github.com/mozilla/hello-tests/contributors | ||
[git-clone]: https://help.github.com/articles/cloning-a-repository/ | ||
[git-fork]: https://help.github.com/articles/fork-a-repo/ | ||
[irc]: http://widget01.mibbit.com/?settings=1b10107157e79b08f2bf99a11f521973&server=irc.mozilla.org&channel=%23mozwebqa | ||
[list]: https://mail.mozilla.org/listinfo/mozwebqa | ||
[pytest-selenium]: http://pytest-selenium.readthedocs.org/ | ||
[running-tests]: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Running_Web_QA_automated_tests | ||
[virtualenv]: https://wiki.mozilla.org/QA/Execution/Web_Testing/Automation/Virtual_Environments | ||
This repository is no longer being actively maintained, and the content has been removed. Please use the repository history to access the previous content. We are not currently executing or developing tests for Firefox Hello in this repository. You can read more about Hello [here] (https://wiki.mozilla.org/Hello). |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.