Documentation
¶
Overview ¶
Command coverexec runs one test binary for make test (go test -exec), moving its coverage output into a directory of its own under the one -test.gocoverdir names. make test then merges those directories.
Test binaries built with -coverpkg=<module>/... that link the same instrumented packages write the same covmeta.<hash> file name. In one shared directory, two that finish together each rename a temporary file onto that name (internal/coverage/cfile, emitMetaDataFile), and Windows refuses the second rename with "Access is denied" (issue 368).
coverexec <test binary> [args...]
Click to show internal directories.
Click to hide internal directories.