super_cache_testing 1.0.1 copy "super_cache_testing: ^1.0.1" to clipboard
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> — synchronous Cache<K,V> with puts, gets counters and reset().
  • ManualClock — injectable time source with advance(Duration) and setTime(DateTime).
  • Deterministic TTL and eviction tests without Future.delayed.
  • Throws StateError after dispose() — same contract as production caches.
1
likes
160
points
99
downloads

Publisher

verified publisherjihedmrouki.com

Weekly Downloads

Test utilities for super_cache. FakeCache and ManualClock for deterministic TTL and eviction tests without Future.delayed. Part of the super_cache family.

Repository (GitHub)
View/report issues

Topics

#cache #testing #mock

Documentation

API reference

License

MIT (license)

Dependencies

super_cache

More

Packages that depend on super_cache_testing