UNPKG

1.29 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 CORDOVA-PLATFORM --plugin PLUGIN-PATH [--justbuild --timeout MSECS --port PORTNUM]
17
18 `CORDOVA-PLATFORM` : the platform id, currently only supports 'ios'
19 `PLUGIN-PATH` : the relative or absolute path to a plugin folder
20 expected to have a 'tests' folder.
21 You may specify multiple --plugin flags and they will all
22 be installed and tested together.
23 `MSECS` : (optional) time in millisecs to wait for tests to pass|fail
24 (defaults to 10 minutes)
25 `PORTNUM` : (optional) port to use for posting results from emulator back to paramedic server
26 --justbuild : (optional) just builds the project, without running the tests
27```
28
29You can also use cordova-paramedic as a module directly :
30
31```
32 var paramedic = require('cordova-paramedic');
33 paramedic.run('ios','../cordova-plugin-device',bJustBuild,nPort,msTimeout);
34```
35
36
37
\No newline at end of file