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