Unit Test Caching

Provides patterns for unit testing Spring Cache annotations (@Cacheable, @CachePut, @CacheEvict). Generates test code that mocks cache managers, verifies cache hit/miss behavior, tests cache key generation with SpEL expressions, validates eviction strategies, and checks conditional caching scenarios. Triggers: caching tests, test Spring cache, mock cache, Spring Boot caching, cache hit/miss verification, @Cacheable testing.

giuseppe-trisciuoglio Updated 371 repo stars
Picture from the README

File contents

giuseppe-trisciuoglio/developer-kit commit db55fef437

Frequently asked questions

npx get-skill add giuseppe-trisciuoglio/unit-test-caching