Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oledid-js/cucumber-json-to-teamcity
Translate a cucumber.js json-report to teamcity service messages
https://github.com/oledid-js/cucumber-json-to-teamcity
cucumber cucumber-js cucumberjs node nodejs teamcity
Last synced: about 24 hours ago
JSON representation
Translate a cucumber.js json-report to teamcity service messages
- Host: GitHub
- URL: https://github.com/oledid-js/cucumber-json-to-teamcity
- Owner: oledid-js
- License: mit
- Created: 2016-07-22T05:08:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T09:35:42.000Z (almost 7 years ago)
- Last Synced: 2025-01-06T04:07:09.898Z (4 days ago)
- Topics: cucumber, cucumber-js, cucumberjs, node, nodejs, teamcity
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/cucumber-json-to-teamcity
- Size: 68.4 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cucumber-json-to-teamcity [![Build Status](https://travis-ci.org/oledid-js/cucumber-json-to-teamcity.svg?branch=master)](https://travis-ci.org/oledid-js/cucumber-json-to-teamcity) [![TeamCity Build Status](https://teamcity.jetbrains.com/app/rest/builds/buildType:(id:TeamCityThirdPartyPlugins_CucumberJsonToTeamcity_Build)/statusIcon.svg)](https://teamcity.jetbrains.com/project.html?projectId=TeamCityThirdPartyPlugins_CucumberJsonToTeamcity&branch_TeamCityThirdPartyPlugins_CucumberJsonToTeamcity=__all_branches__&guest=1) [![npm](https://img.shields.io/npm/dt/cucumber-json-to-teamcity.svg)](https://www.npmjs.com/package/cucumber-json-to-teamcity) [![npm](https://img.shields.io/npm/v/cucumber-json-to-teamcity.svg)](https://www.npmjs.com/package/cucumber-json-to-teamcity)
Translate a cucumber.js json-report to teamcity service messages
## Install
```
$ npm install --save cucumber-json-to-teamcity
```## Usage
```js
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.
```## Related
- [cucumber-json-to-teamcity-cli](https://github.com/oledid-js/cucumber-json-to-teamcity-cli) - CLI for this module
## License
[MIT](LICENSE)