summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/tests/browserscope/lib/richtext2/README.Mozilla
blob: 7d730874c6867b7e78a62a19f4965c38c1e55c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
The BrowserScope project provides a set of cross-browser HTML editor tests,
which we import in our test suite in order to run them as part of our
continuous integration system.

We pull tests occasionally from their Subversion repository using the pull
script which can be found in this directory.  We also record the revision ID
which we've used in the current_revision file inside this directory.

Using the pull script is quite easy, just switch to this directory, and say:

sh update_from_upstream

There are tests which we're currently failing on, and there will probably be
more of those in the future.  We should maintain a list of the failing tests
manually in currentStatus.js (which can also be found in this directory), to
make sure that the suite passes entirely, with failing tests marked as todo
items.

The current status of the test suite needs to be updated whenever an editor
bug gets fixed, which makes us pass one of the tests.  When that happens,
you should set the UPDATE_TEST_RESULTS constant to true in test_richtext2.html,
run the test suite, paste the result JSON string in a JSON beautifier (such
as http://jsbeautifier.org/), and use the result to update currentStatus.js.

As a special case, if there are platform-specific failures, these are instead
recorded manually in platformFailures.js. (Currently, this applies only to
tests that are dependent on underlying platform support for the Thai script.)