testing/tps/README

changeset 2
7e26c7da4463
equal deleted inserted replaced
-1:000000000000 0:e4b4ddf62dac
1 TPS is a test automation framework for Firefox Sync. See
2 https://developer.mozilla.org/en/TPS for documentation.
3
4 Installation
5 ============
6
7 TPS requires several packages to operate properly. To install TPS and
8 required packages, use the INSTALL.sh script, provided:
9
10 ./INSTALL.sh /path/to/create/virtualenv
11
12 This script will create a virtalenv and install TPS into it. TPS can then
13 be run by activating the virtualenv and executing:
14
15 runtps --binary=/path/to/firefox
16
17
18 Configuration
19 =============
20 To edit the TPS configuration, do not edit config/config.json.in in the tree.
21 Instead, edit config.json inside your virtualenv; it will be located at
22 something like:
23
24 (linux): /path/to/virtualenv/lib/python2.6/site-packages/tps-0.2.40-py2.6.egg/tps/config.json
25 (win): /path/to/virtualenv/Lib/site-packages/tps-0.2.40-py2.6.egg/tps/config.json
26
27
28 Setting Up Test Accounts
29 ========================
30
31 Firefox Accounts
32 ----------------
33 To create a test account for using the Firefox Account authentication perform the
34 following steps:
35
36 1. Go to a URL like http://restmail.net/mail/%account_prefix%@restmail.net
37 2. Go to https://accounts.firefox.com/signup?service=sync&context=fx_desktop_v1
38 3. Sign in with the previous chosen email address and a password
39 4. Go back to the Restmail URL, reload the page
40 5. Search for the verification link and open that page
41
42 Now you will be able to use your setup Firefox Account for Sync.

mercurial