[Go] Run go test without reusing cached results

Created on November 30, 2026

Use -count=1 to rerun tests even if Go has a cached result.

go test -count=1 ./...

With a package list, go test can reuse a previous successful result when the cache conditions match. The output then shows (cached). To force a run for just the current package, use this command.

go test -count=1 .
Go