node-robotframework-test-runner
v1.1.1
Published
Robotframework for nodejs
Downloads
5
Maintainers
Readme
node-robotframework-test-runner
Robotframework TestCase Runner Written in NodeJS
Usage - clone
Interactive CLI
npm start
run cli
npm runtest
run testcases
npm clean
cleanup report
npm gentrendreport
generate trend report by existing reports
Usage - as a npm module
Installation
npm install node-robotframework-test-runner --save
How to use?
var TestRunner = require('node-robotframework-test-runner');
var pathOfSoftwareUnderTestingLibrary = './sut-lib.js';
var pathOfRobotframeworkTestCasesDirectory = './testcases-passed';
TestRunner.run(pathOfSoftwareUnderTestingLibrary, pathOfRobotframeworkTestCasesDirectory)
.then((data) => {
console.log(data[0]);
console.log('done!!!');
process.exit();
}, (err) => {
console.log(err);
process.exit();
});
Or Reference repository: example-of-node-robotframework-test-project
References
- https://github.com/comick/node-robotremoteserver