Works for me,
deadwood(~/src/github.com/davecheney/test) % go test -v ./...
=== RUN TestTest
--- PASS: TestTest (0.00s)
test_test.go:6: hello
PASS
ok github.com/davecheney/test 0.002s
=== RUN TestTest
--- PASS: TestTest (0.00s)
test_test.go:6: hello
PASS
ok github.com/davecheney/test/internal/test2 0.002s
Can you please post some details of what you have tried and what happened.
On Wednesday, 21 December 2016 11:39:17 UTC+11, Vaidotas Sm wrote:
>
> Hi,
>
> Why do "go test ./..." does not run any ./internal/... tests?
> This however works - "go test ./internal/...".
>
> What is the correct way to test all my code within project with single
> command?
>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.