go-test-color/README.md

34 lines
824 B
Markdown
Raw Permalink Normal View History

# go-test-color
2021-01-18 06:48:51 +00:00
[![Go](https://github.com/haunt98/go-test-color/workflows/Go/badge.svg?branch=main)](https://github.com/actions/setup-go)
2020-12-23 11:14:27 +00:00
[![Go Reference](https://pkg.go.dev/badge/github.com/haunt98/go-test-color.svg)](https://pkg.go.dev/github.com/haunt98/go-test-color)
2023-09-23 07:08:34 +00:00
[![Latest Version](https://img.shields.io/github/v/tag/haunt98/go-test-color)](https://github.com/haunt98/go-test-color/tags)
Run `go test` with color.
## Install
With Go version `>= 1.16`:
```sh
go install github.com/haunt98/go-test-color@latest
```
With Go version `< 1.16`:
```sh
GO111module=on go get -u github.com/haunt98/go-test-color
```
## Usage
```sh
# Simply replace go test with go-test-color
go-test-color -v ./...
```
2020-12-18 10:13:21 +00:00
## Thanks
- [fatih/color](https://github.com/fatih/color)
- [rakyll/gotest](https://github.com/rakyll/gotest)