On Tue, Jan 8, 2019 at 11:52 PM <durgasomeswararao...@gmail.com> wrote:
>
> I have creates all my test files in a separate single folder. Is it possible 
> to get code coverage as the source files are in different location not with 
> test files.
> I am getting code coverage report with coverprofile when  test files and 
> source are in same location.
>
> Here I was running all the test files with  a make file for sequential 
> execution of test files as I have some dependency from one file to another 
> file.

Tell us exactly what you did, tell us exactly what happened, and tell
us what you expected to happen instead.

I'm not sure but perhaps you want to use the -coverpkg option to go test.

Ian

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to