Package misk.feature.testing

Types

Link copied to clipboard
@Singleton
class FakeFeatureFlags @Inject constructor(delegate: FakeFeatureFlags) : AbstractIdleService, FeatureFlags, FeatureService, DynamicConfig

In-memory test implementation of FeatureFlags that allows flags to be overridden.

Link copied to clipboard
class FakeFeatureFlagsModule(qualifier: KClass<out Annotation>?) : KAbstractModule

Binds a FakeFeatureFlags that allows tests to override values.

Link copied to clipboard
class FakeFeatureFlagsOverrideModule : KAbstractModule

Install defaults for FakeFeatureFlags. This module can be install many times, allowing for feature flag overrides to be modular and scoped to the module the flag is used in.