Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

crosswalk-project/crosswalk-test-suite

Repository files navigation

Introduction

This is a test suite for Crosswalk, which includes:

  • cordova/: Crosswalk based Cordova tests
  • usecase/: use-case samples as tests
  • webapi/: Web API tests
  • wrt/: Web Runtime Tests
  • misc/: miscellaneous tests
    • web-abat-xwalk-tests and web-mbat-xwalk-tests: basic acceptance tests
    • wrt-documentation-verification-tests: tests for documents verification
  • stability/: stability tests
  • doc/: see documentaion below
  • tools/: 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.

Documentation

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

Contributing

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:

License

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.