This is a test suite for Crosswalk, which includes:
cordova/
: Crosswalk based Cordova testsusecase/
: use-case samples as testswebapi/
: Web API testswrt/
: Web Runtime Testsmisc/
: miscellaneous testsweb-abat-xwalk-tests
andweb-mbat-xwalk-tests
: basic acceptance testswrt-documentation-verification-tests
: tests for documents verification
stability/
: stability testsdoc/
: see documentaion belowtools/
: tools for this test suite
Note that TESTER-HOME-DIR
in this reposistory is a macro used for multiuser
support. It should be replaced by a real home directory, e.g. /home/app
,
before running the test suite.
Check out our documents at doc/
.
For test suite and test case development, please go through the following documents firstly:
doc/Coding_Style_Guide_CheatSheet
doc/Web_Test_Suite_Developer_Guide
doc/Web_Test_Suite_Packaging_Guide
For testing execution and reports, please follow these user guides:
doc/Cordova_Test_Suite_User_Guide
doc/WebAPI_Test_Suite_User_Guide
doc/Web_BAT_Test_Suite_User_Guide
doc/Web_Runtime_Test_Suite_User_Guide
Move the Web, Write Some Tests!
Absolutely everyone is welcome (and even encouraged) to contribute to test development and bug report. No test is too small or too simple, especially if it corresponds to something for which you've noted an bug in Crosswalk project.
The way to contribute is just as usual:
- fork this repository (and make sure you're still relatively in sync with it if you forked a while ago);
- create a branch for your changes,
git checkout -b topic
; - make your changes;
- push that to your repo;
- and send in a pull request based on the above.
Please make your pull requests to master
.
Or you can report an issue of the tests and/or tools in this JIRA system:
Except as noted in COPYING
and/or NOTICE
files, or as headed with license
info, test suite source code uses a BSD-style license that can be found in the
LICENSE
file.