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.
(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.)
Overview
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).
The createmobilespec folder contains a script/CLI to create a Cordova app
using the locally installed Cordova CLI, the currently up to date (published on npm) platforms and plugins (including their tests!), and the 4 local plugins from 2) (mode --global) or
using local checkouts (via cordova-coho) of all these (CLI, tools, platforms, plugins...) or
with several other modes (to e.g. use plugman and /bin/create instead of the CLI)
请发表评论