'How to install "gotests" command?

I need to use the test driven development in Go using "gotests" command.

gotests -all *

This is not working. I did go get -u /github.com/cweill/gotests and go install. But there is no binary created in $GOPATH/bin.

go


Solution 1:[1]

since there is NO main package, Use this command

$ go get github.com/cweill/gotests/...

this itself download all dependencies for the current package, and creates bin file, after downloading this package. see in $GOPATH/bin there will be a bin file named gotests

for more see HERE

Solution 2:[2]

go install github.com/rakyll/gotest 

Source: https://github.com/rakyll/gotest

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 rb16
Solution 2 Samir Kape