gty-migrate-from-testify command
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
- Version
- v1.4.0 (latest)
- Published
- Mar 21, 2018
- Platform
- linux/amd64
- Imports
- 19 packages
- Last checked
- 1 week ago –
Tools for package owners.