gty-migrate-from-testify

command
Version: v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

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

Jump to

Keyboard shortcuts

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