testStoreWith<T extends CacheStore> function
Entry point for the store testing harness. It delegates most of the construction to user provided functions that are responsible for the CacheStore creation, and the generation of testing values (with a provided ValueGenerator instance). They are encapsulated in provided TestContext object
ctx: the test context
Implementation
Future<void> testStoreWith<T extends CacheStore>(TestContext<T> ctx) async {
for (var test in _getTests<T>()) {
await test(ctx).then(ctx.deleteStore);
}
}