> My unit tests run against the code in package A which depends on package
> B which depends on package C. When running with "-cover" I only get a
> report of the coverage in package A. Is there a way to get the coverage
> report for all the packages in the project based on the tests that are run?
From go test -help:
-coverpkg pkg1,pkg2,pkg3
Apply coverage analysis in each test to the given list of
packages. The default is for each test to analyze only the package being
tested. Packages are specified as import paths.
E.g. in the directory for package A, run "go test -coverpkg A,B,C".
-Chris K