package
Nodejs module for interacting with TestSwarm
npm install testswarmGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Nodejs module for interacting with TestSwarm
Install the module with:
npm install --save-dev testswarmvar testswarm = require( "./lib/testswarm" ),
testUrl = "http://localhost/jquery-core/test/",
runs = {};
["attributes", "callbacks"].forEach(function (suite) {
runs[suite] = testUrl + "?module=" + suite;
});
testswarm.createClient({
url: "http://localhost/testswarm/"
})
.addReporter( testswarm.reporters.cli )
.auth({
id: "example",
token: "yourauthtoken"
})
.addjob(
{
For local testing, copy sample-test.js to test.js and modify to match your local TestSwarm setup.
Object configString url - Url to root of TestSwarm install.Object reporter - usually testswarm.reporters.cli, unless you want to use a custom reporterObject authString id - Username of TestSwarm account.String token - Authentication token of account.Object optionsString name - name of this jobNumber runMax - [optional] how often failed tests should rerunObject runs - Run urls by run name.Array|String browserSets - which sets to test againstNumber pollInterval - [optional] In milliseconds, default 5 seconds.Number timeout - [optional] In milliseconds, default 15 minutes.Function( Object err, Boolean passed, Object results ) callbackCopyright (c) 2014 Jörn Zaefferer Licensed under the MIT license.
krinkle
krinklemail@gmail.com
Estimated unpacked size across 35 packages.
6.1 MB
Includes dependencies.