feat(Makefile): pretty test output with tparse
This commit is contained in:
parent
370531a9a5
commit
e0f401f0a9
1 changed files with 9 additions and 2 deletions
11
Makefile
11
Makefile
|
|
@ -32,5 +32,12 @@ local-db-seed:
|
|||
|
||||
.PHONY: test
|
||||
test:
|
||||
@echo "Running tests..."
|
||||
@go test -v ./...
|
||||
@go test -v -json ./... | tparse -all
|
||||
|
||||
.PHONY: verbose-test
|
||||
verbose-test:
|
||||
@go test -v -cover ./...
|
||||
|
||||
.PHONY: coverage
|
||||
coverage:
|
||||
@go test -v -cover -json ./... | tparse
|
||||
|
|
|
|||
Reference in a new issue