Translate a cucumber.js json-report to teamcity service messages
$ npm install --save cucumber-json-to-teamcity
const api = require("cucumber-json-to-teamcity");
const lines = api("path/to/json-file.json");
for (let i = 0; i < lines.length; ++i) {
console.log(lines[i]);
}
// the method also accepts the raw json data as string.
- cucumber-json-to-teamcity-cli - CLI for this module