gotchet

module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2023 License: GPL-3.0

README

gotchet build docker image

gotchet is a test report tool for Go. It can display test results in a TUI and generate HTML reports. Its primary purpose is to make it a bit easier to analyze results of large long-running test suites that make use of subtests and have lots of log output.

Current status: WIP.

Usage

Use one of the following commands to get the right test2json output from your Go tests:

For go test:

go test -json -v=test2json ./...

For test binaries (go test -c):

go tool test2json -t -p pkgname ./test-binary -test.v=test2json

Pipe the output to gotchet to generate an HTML report

go test -json -v=test2json ./... | gotchet gen > report.html

Screenshot

Screenshot

Directories

Path Synopsis
cmd
internal
tui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL