There's a closed pull request on the void-packages repository [RFC] build-styles/go.sh: run go test -v ${go_project:-go_import_path} in do_check https://github.com/void-linux/void-packages/pull/34496 Description: There are 313 build_style=go packages, and currently 8 of them have tests defined in the package template. I have been testing the go packages with this. So far, I have rebuilt 183 packages and there have been no errors and 64 packages have run tests successfully. Ideally, more tests would be added (because they are a lot more common on internal libraries than command clients) but this is probably the safest default option. EDIT: My script was setup wrong and some packages did fail. I am testing with only running tests on packages that have a `go.mod` and the pass rate is very high. I will see how this goes.