FeatureStoreContractTest
abstract class FeatureStoreContractTest(body: ERROR CLASS: Symbol not found for FunSpec.() -> Unit = {}) : <ERROR CLASS> ERROR CLASS: Symbol not found for FunSpec(source)
Abstract contract test for FeatureStore implementations.
This abstract class defines a comprehensive test suite that all FeatureStore implementations must pass. It implements all specific contract test interfaces:
featureStoreCrudTests
featureStoreGroupTests
featureStorePermissionTests
featureStoreConcurrencyTests
To use this contract test, extend this class and implement the createStore method:
class InMemoryFeatureStoreTest : FeatureStoreContractTest() {
override suspend fun createStore(): FeatureStore = InMemoryFeatureStore()
}Content copied to clipboard