I’m using entr in the following one line shell script:
entr
#!/usr/bin/env bash entr bash -c "clear; go test $*" < <(find .)