Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/uzyn/umbo-istanbul

Parses Istanbul's json-summary report for Umbo
https://github.com/uzyn/umbo-istanbul

Last synced: 11 days ago
JSON representation

Parses Istanbul's json-summary report for Umbo

Awesome Lists containing this project

README

        

# umbo-istanbul
Parses Istanbul's json-summary report for Umbo

```
$ umbo-istanbul --help

Usage: umbo-istanbul [options]

Options:

-h, --help output usage information
-V, --version output the version number
-b, --badge Umbo badge id
-t, --token Umbo private token
-u, --url Umbos URL, defaults to http://umbo.zynesis.com/:badge
-j, --json-summary Path to json-summary reported by istanbul. Defaults to coverage/coverage-summary.json
-t, --type Coverage type: lines, statements, functions or branches. Defaults to lines.

Usage example:

Ensure that json-summary report is generated by istanbul cover
$ istanbul cover --report json-summary mocha

Parse json-summary report and send to Umbo
$ export UMBO_BADGE=YOUR_UMBO_BADGE_ID;
$ export UMBO_TOKEN=PRIVATE_TOKEN;
$ umbo-istanbul
```