Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Commit

Permalink
Merge pull request #35 from stephendonner/decomm
Browse files Browse the repository at this point in the history
Deactivate project and add note to README
  • Loading branch information
stephendonner committed Sep 19, 2016
2 parents 720cf5e + db88cf4 commit 9cbf5da
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 222 deletions.
4 changes: 0 additions & 4 deletions .gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions LICENSE

This file was deleted.

86 changes: 1 addition & 85 deletions README.md
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 removed pages/__init__.py
Empty file.
16 changes: 0 additions & 16 deletions pages/base.py

This file was deleted.

26 changes: 0 additions & 26 deletions pages/hello.py

This file was deleted.

30 changes: 0 additions & 30 deletions pages/issue.py

This file was deleted.

5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

6 changes: 0 additions & 6 deletions setup.cfg

This file was deleted.

Empty file removed tests/__init__.py
Empty file.
19 changes: 0 additions & 19 deletions tests/conftest.py

This file was deleted.

24 changes: 0 additions & 24 deletions tests/test_hello.py

This file was deleted.

0 comments on commit 9cbf5da

Please sign in to comment.