UNPKG

1.46 kBMarkdownView Raw
1cordova-paramedic
2=================
3
4[![Build Status](https://travis-ci.org/purplecabbage/cordova-paramedic.svg?branch=master)](https://travis-ci.org/purplecabbage/cordova-paramedic)
5
6Runs cordova medic/buildbot tests locally.
7
8... provides advanced levels of care at the point of illness or injury, including out of hospital treatment, and diagnostic services
9
10To install :
11``` $npm install cordova-paramedic ```
12
13Usage :
14
15```
16cordova-paramedic --platform PLATFORM --plugin PATH [--justbuild --timeout MSECS --port PORTNUM --browserify --verbose ]`PLATFORM` : the platform id, currently only supports 'ios'
17`PATH` : the relative or absolute path to a plugin folder
18 expected to have a 'tests' folder.
19 You may specify multiple --plugin flags and they will all
20 be installed and tested together.
21`MSECS` : (optional) time in millisecs to wait for tests to pass|fail
22 (defaults to 10 minutes)
23`PORTNUM` : (optional) port to use for posting results from emulator back to paramedic server
24--justbuild : (optional) just builds the project, without running the tests
25--browserify : (optional) plugins are browserified into cordova.js
26--verbose : (optional) verbose mode. Display more information output
27
28```
29
30You can also use cordova-paramedic as a module directly :
31
32```
33 var paramedic = require('cordova-paramedic');
34 paramedic.run('ios', '../cordova-plugin-device', onCompleteCallback,justBuild,portNum,msTimeout, useBrowserify, beSilent, beVerbose);
35```
36
37
38
\No newline at end of file