Documentation
¶
Overview ¶
Package tracertest provides a shared *trace.Tracer constructor for use in unit tests.
It intentionally lives in its own leaf package, separate from pkg/testsupport: pkg/trace depends on pkg/model, which in turn depends on packages (e.g. pkg/mdoc) that import pkg/cache. pkg/cache's own tests import pkg/testsupport for its Docker/Mongo container helpers, so adding a pkg/trace dependency to pkg/testsupport itself would create an import cycle. Keeping the tracer helper here, imported only by packages that don't sit on that cycle, avoids the problem.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.