gty-migrate-from-testify

command
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 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 gotestyourself/assert.

$ go get github.com/gotestyourself/gotestyourself/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
y or Y : Canonical URL