Back to godoc.org
gotest.tools / assert / cmd / gty-migrate-from-testify

Command gty-migrate-from-testify

v2.2.0+incompatible
Latest Go to latest
Published: Nov 11, 2018 | License: Apache-2.0 | Module: gotest.tools

Overview

Command gty-migrate-from-testify migrates packages from testify/assert and testify/require to gotest.tools/assert.

$ go get gotest.tools/assert/cmd/gty-migrate-from-testify

Usage:

gty-migrate-from-testify [OPTIONS] PACKAGE [PACKAGE...]

See --help for full usage.

To run on all packages (including external test packages) use:

go list \
	-f '{{.ImportPath}} {{if .XTestGoFiles}}{{"\n"}}{{.ImportPath}}_test{{end}}' \
	./... | xargs gty-migrate-from-testify
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier