[go-nuts] Re: Testing "internal" packages?

2016-12-21 Thread Vaidotas Sm
OK, so I have a project named golang_web_boilerplate in $GOPATH/src: *> go test ./...* # golang_web_boilerplate/db/migrations runtime.main: call to external function main.main runtime.main: main.main: not defined runtime.main: undefined: main.main ? golang_web_boilerplate [no test files]

[go-nuts] Testing "internal" packages?

2016-12-20 Thread Vaidotas Sm
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