Help us shape the future of Go! Take the 2026 Go Developer Survey

testshape

command
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Command testshape checks that every test marks its Arrange, Act and Assert, and that each Assert reaches a failure. Name test files; each one's whole package is checked:

go run ./cmd/testshape internal/tui/*_test.go

task lint runs it over every test file, and the pre-commit hook over the staged ones.

Jump to

Keyboard shortcuts

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