1 // Package testhelpers contains types and functions that may be useful in testing SDK functionality or 2 // custom integrations. 3 // 4 // It contains two subpackages: 5 // - [github.com/launchdarkly/go-server-sdk/v6/testhelpers/ldtestdata], which provides a test fixture 6 // for setting flag values programmatically; 7 // - [github.com/launchdarkly/go-server-sdk/v6/testhelpers/storetest], which provides a standard test 8 // suite for custom persistent data store implementations. 9 // 10 // The APIs in this package and its subpackages are supported as part of the SDK. 11 package testhelpers 12 13 // Implementation note: the types and functions in this package are mainly meant for external use, but may 14 // be useful in SDK tests. Anything that is *only* for SDK tests should be in internal/sharedtest instead. 15 // Avoid putting anything here that depends on any packages other than interfaces, since then it might not 16 // be possible to use it in other areas of the SDK without causing a cyclic reference (that's why storetest 17 // is a separate package, so it can reference the main package). 18