Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gokultp/go-tprof
A presentable test report generator for go packages
https://github.com/gokultp/go-tprof
golang testing testreport vue
Last synced: 3 months ago
JSON representation
A presentable test report generator for go packages
- Host: GitHub
- URL: https://github.com/gokultp/go-tprof
- Owner: gokultp
- License: mit
- Created: 2019-08-22T17:16:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T07:55:45.000Z (almost 2 years ago)
- Last Synced: 2024-06-20T12:39:57.761Z (5 months ago)
- Topics: golang, testing, testreport, vue
- Language: Go
- Homepage:
- Size: 9.34 MB
- Stars: 33
- Watchers: 2
- Forks: 6
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- go-awesome - go-tprof - Tool for generating package test reports (Open source library / Test)
README
# go-tprof
## Overview [![GoDoc](https://godoc.org/github.com/gokultp/go-tprof?status.svg)](https://godoc.org/github.com/gokultp/go-tprof) [![Build Status](https://travis-ci.org/gokultp/go-tprof.svg?branch=master)](https://travis-ci.org/gokultp/go-tprof) [![Code Climate](https://codeclimate.com/github/gokultp/go-tprof/badges/gpa.svg)](https://codeclimate.com/github/gokultp/go-tprof) [![Go Report Card](https://goreportcard.com/badge/github.com/gokultp/go-tprof)](https://goreportcard.com/report/github.com/gokultp/go-tprof)
[![IMAGE ALT TEXT HERE](./animation.gif)](https://www.youtube.com/watch?v=4lzqb0Nic2k)
## Prerequisites
1. Go version >= 1.12
2. Node.js version >= 8.0.0 (for building the UI)
3. Yarn
4. GOPATH and local bin setup (`export PATH=$PATH:$GOPATH/bin`)
## Install```
git clone https://github.com/gokultp/go-tprof.git
cd go-tprof
make config
make
```## Usage Instructions
`tprof` is not a replacement for `go test`, it just parses the results and generates reports out of it.
To execute
```
go test -v | tprof
```Eg:
```
go test encoding/... -v | tprof
```## Features
- [x] Parser and reports logic.
- [x] HTML Page## License
MIT.