gotest.tools: gotest.tools/assert/cmd/gty-migrate-from-testify Files

Command gty-migrate-from-testify

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

Package Files

call.go doc.go importer.go main.go migrate.go walktype.go

Package main imports 19 packages (graph). Updated 2018-12-20. Refresh now. Tools for package owners.