swift-metrics icon indicating copy to clipboard operation
swift-metrics copied to clipboard

MetricsTestKit documentation suggest invalid usage of `bootstrapInternal`

Open bauer-andreas opened this issue 2 months ago • 0 comments

The docs of MetricsTestKit currently would not compile as they suggest usage of bootstrapInternal without using a @testable import for Metrics. @testable is discouraged and we should direct people to manually pass around a MetricsFactory you can inject as part of your unit tests.

bauer-andreas avatar Oct 17 '25 15:10 bauer-andreas