marmot-cli
command-line interface for Marmot
Installment
$ npm i marmot-cli -g
Usage
report
$ marmot report -c ./marmot.config.js
Configuration
module.exports = {
files: [
`build/Release-iphonesimulator/${pkg.name}.app`
],
packages: [
{
version,
path: `${pkg.name}.app`,
}
],
testInfo: {
},
extraInfo: {
}
};
User helper methods to resolve the iOS and Android platforms.
const helper = require('marmot-cli').helper;
const {
iosUtils,
androidUtils,
webUtils,
} = helper;
Integration Samples
Example for ios-app-bootstrap:
$ MARMOT_SERVER_URL=http://127.0.0.1:9900 ci.sh
Environment Variable
name | description |
---|
MARMOT_SERVER_URL | server url for Marmot server |
License
The MIT License (MIT)