• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..30-Mar-2022-

richtext/js/H03-May-2022-

LICENSEH A D30-Mar-202211.1 KiB203169

READMEH A D30-Mar-20222 KiB5942

README.MozillaH A D30-Mar-2022817 1813

current_revisionH A D30-Mar-20224 21

update_from_upstreamH A D30-Mar-2022327 178

README

1README FOR BROWSERSCOPE
2-----------------------
3
4Hey there - thanks for downloading the code. This file has instructions
5for getting setup so that you can run the codebase locally.
6
7This project is built on Google App Engine using the
8Django web application framework and written in Python.
9
10To get started, you'll need to first download the App Engine SDK at:
11http://code.google.com/appengine/downloads.html
12
13For local development, just startup the server:
14./pathto/google_appengine/dev_appserver.py --port=8080 browserscope
15
16You should then be able to access the local application at:
17http://localhost:8080/
18
19Note: the first time you hit the homepage it may take a little
20while - that's because it's trying to read out median times for all
21of the tests from a nonexistent datastore and write to memcache.
22Just be a lil patient.
23
24You can run the unit tests at:
25  http://localhost:8080/test
26
27
28CONTRIBUTING
29------------------
30
31Most likely you are interested in adding new tests or creating
32a new test category. If you are interested in adding tests to an existing
33"category" you may want to get in touch with the maintainer for that
34branch of the tree. We are really looking forward to receiving your
35code in patch format. Currently the category maintainers are:
36Network: Steve Souders <souders@gmail.com>
37Reflow: Lindsey Simon <elsigh@gmail.com>
38Security: Adam Barth <adam@adambarth.com> and Collin Jackson <collin@collinjackson.com>
39
40
41To create a completely new test category:
42  * Copy one of the existing directories in categories/
43  * Edit your test_set.py, handlers.py
44  * Add your files in templates/ and static/
45  * Update urls.py and settings.CATEGORIES
46  * Follow the examples of other tests re:
47      * beaconing using/testdriver_base
48      * your GetScoreAndDisplayValue method
49      * your GetRowScoreAndDisplayValue method
50
51References:
52  * App Engine Docs - http://code.google.com/appengine/docs/python/overview.html
53  * App Engine Group - http://groups.google.com/group/google-appengine
54  * Python Docs - http://www.python.org/doc/
55  * Django - http://www.djangoproject.com/
56
57
58
59

README.Mozilla

1The BrowserScope project provides a set of cross-browser HTML editor tests,
2which we import in our test suite in order to run them as part of our
3continuous integration system.
4
5We pull tests occasionally from their Subversion repository using the pull
6script which can be found in this directory.  We also record the revision ID
7which we've used in the current_revision file inside this directory.
8
9Using the pull script is quite easy, just switch to this directory, and say:
10
11sh update_from_upstream
12
13There are tests which we're currently failing on, and there will probably be
14more of those in the future.  We should maintain a list of the failing tests
15manually in currentStatus.js (which can also be found in this directory), to
16make sure that the suite passes entirely, with failing tests marked as todo
17items.
18