super_cache_testing 1.0.1
super_cache_testing: ^1.0.1 copied to clipboard
Test utilities for super_cache. FakeCache and ManualClock for deterministic TTL and eviction tests without Future.delayed. Part of the super_cache family.
1.0.1 #
- Improved README with badge set and package family links.
- Fixed pubspec description length to comply with pub.dev guidelines.
- Fixed dart format issues in source and example files.
1.0.0 #
- Initial stable release.
FakeCache<K,V>— synchronousCache<K,V>withputs,getscounters andreset().ManualClock— injectable time source withadvance(Duration)andsetTime(DateTime).- Deterministic TTL and eviction tests without
Future.delayed. - Throws
StateErrorafterdispose()— same contract as production caches.