spring-cache-unit-tests
Testing & QualityTests Spring Cache annotation behavior — @Cacheable hits and misses, @CacheEvict invalidation, @CachePut refreshes, SpEL key generation and condition/unless gating — in fast JUnit tests backed by an in-memory CacheManager, a real caching proxy and Mockito call counts. Use when the user asks to "test cache hits and misses", "verify @CacheEvict works", "unit test Spring caching", "check my cache keys", or "test conditional caching without Redis". Not for load-testing a cache cluster, tuning Redis or Hazelcast infrastructure, or testing CacheManager implementations themselves.
- Version
- v1.0.1
- Size
- 13 KB
- Updated
- 2026-10-06
$ skilvault read --manual spring-cache-unit-testsYour client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.