Skip to main content

super_cache_testing 1.1.0 copy "super_cache_testing: ^1.1.0" to clipboard
super_cache_testing: ^1.1.0 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.1.0 #

  • FakeCache internals modernised; no API changes.
  • Raised minimum SDK to Dart 3.10 / Flutter 3.38 and adopted modern language features (dot shorthands, null-aware elements, patterns, wildcards).
  • Upgraded to flutter_lints 6 and the tall-style formatter.

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
641
downloads

Documentation

API reference

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

License

MIT (license)

Dependencies

super_cache

More

Packages that depend on super_cache_testing