testarmada-magellan
Version:
Massively parallel automated testing
23 lines (17 loc) • 433 B
JavaScript
/*
Fake testing for unit testing purposes
*/
var _ = require("lodash");
var FakeTestrun = function (options) {
_.extend(this, options);
};
FakeTestrun.prototype.getCommand = function () {
return "./test_support/fake_test.js";
};
FakeTestrun.prototype.getEnvironment = function (env) {
return env;
};
FakeTestrun.prototype.getArguments = function () {
return [this.locator.toString()];
};
module.exports = FakeTestrun;