commit | b465e8ff83da95ce895736c312da4d351e5fb0be | [log] [tgz] |
---|---|---|
author | エリス <erisu@users.noreply.github.com> | Tue Mar 05 19:40:38 2019 +0900 |
committer | Jan Piotrowski <piotrowski+github@gmail.com> | Tue Mar 05 11:40:38 2019 +0100 |
tree | 8cfbf579a5ab60922cc16db7b3ea1dfbb85ada4e | |
parent | 1c17b2d7986e33d3979cd17390769107bdba3806 [diff] |
Add Electron Support (#199) ### Platforms affected none ### Motivation and Context Support for creating mobilespec builds for Electron Release process. ### Description - Only added the necessary flags ### Testing None ### Checklist - [ ] I've run the tests to see all new and existing tests pass - [ ] I added automated test coverage as appropriate for this change - [ ] Commit is prefixed with `(platform)` if this change only applies to one platform (e.g. `(android)`) - [ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct [keyword to close issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/)) - [ ] I've updated the documentation if necessary
This cordova-mobile-spec
repository can be used to create a Cordova app that provides a set of manual tests to verify Cordova core functionality. It is currently used in the release processes of platforms, plugins and tools.
It also provides access to manual and automated tests of the installed plugins (via cordova-plugin-test-framework
).
(History: A very long time ago this repository also included all the manual and automated plugin tests before those were extracted and moved into the plugins themselves.)
This repository has 3 parts:
This main folder is a Cordova app “template” (config.xml
and www
) that includes implementations of various functionalities that Cordova supports (battery, events, keyboard, lazyloadjs, splashscreens, sql, storage, misc) that can manually be tested, some benchmarks, and a link to the automated and manual tests installed plugins offer (cdvtests/index.html
).
There are 4 plugins as well: cordova-plugin-echo
(“plugin implementation of the Echo function to test the bridge”), cordova-plugin-mobilespec-tests
(“Cordova Non Plugin Auto Tests”), cordova-plugin-thirdparty-tests
(“Tests for popular third-party plugins”) and cordova-plugin-whitelist
(TODO).
The createmobilespec
folder contains a script/CLI to create a Cordova app
--global
) orcordova-coho
) of all these (CLI, tools, platforms, plugins...) orThe end result is a folder ../mobilespec
with a Cordova app that can be installed on devices. It can be used for some manual testing with the functionality offered by 1) or run the tests additionally provided by the plugins via cordova-plugin-test-framework
.
See the README.md
in /createmobilespec
for usage instruction on how to create the “mobilespec” app.
Tests of Cordova Plugin File-Transfer require a test server. Follow these instructions to install and run the server and configure the plugin.