Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derekstavis/scrivener
Display goreporter results as an ASCII table
https://github.com/derekstavis/scrivener
Last synced: about 8 hours ago
JSON representation
Display goreporter results as an ASCII table
- Host: GitHub
- URL: https://github.com/derekstavis/scrivener
- Owner: derekstavis
- Created: 2017-06-12T19:58:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-12T19:59:03.000Z (over 7 years ago)
- Last Synced: 2024-06-20T13:28:41.552Z (5 months ago)
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scrivener
> Display [goreporter][goreporter] results in terminal.## Using
Install it:
```sh
$ go get github.com/derekstavis/scrivener
```Run `goreporter` in your project with JSON output:
```sh
$ goreporter -p ../scrivener -f json
```>Be sure to replace `../scrivener` by your project's package
Run `scrivener` with JSON file as argument:
```sh
$ scrivener scrivener-1497297258.json+-----------+----------------------------------+---------------------------------------------------------------+
| TEST | SUMMARY | ERROR |
+-----------+----------------------------------+---------------------------------------------------------------+
| CycloTips | github.com/derekstavis/scrivener | /home/derek/src/github.com/derekstavis/scrivener/main.go:91:1 |
+ + +---------------------------------------------------------------+
| | | /home/derek/src/github.com/derekstavis/scrivener/main.go:74:1 |
+ + +---------------------------------------------------------------+
| | | /home/derek/src/github.com/derekstavis/scrivener/main.go:45:1 |
+-----------+----------------------------------+---------------------------------------------------------------+
```You can also ignore some tests using `--exclude`:
```sh
$ scrivener scrivener-1497297258.json --exclude=CycloTips+-----------+----------------------+------------------------------+
| TEST | SUMMARY | ERROR |
+-----------+----------------------+------------------------------+
+-----------+----------------------+------------------------------+
```---
[goreporter]: https://github.com/wgliang/goreporter