Alternatives to unit-test-caching
200 apps like unit-test-caching, closest match first.
Top picks
- U

unit-test-scheduled-async
Getunit-test-scheduled-async is an agent skill from the developer-kit collection for unit testing Spring methods annotated with @Scheduled and @Async. It gives patterns for checking CompletableFuture results, using Awaitility where a test has
- S

spring-boot-cache
GetSpring Boot cache is an agent skill for adding caching to Spring Boot 3.5 and later applications. It runs through a six-step workflow: enabling the cache abstraction, configuring a provider, annotating service methods, and validating the be
- U

unit-test-exception-handler
GetThis agent skill gives patterns for unit testing error handling in Spring Boot. It covers @ExceptionHandler methods and @ControllerAdvice classes, which together decide what a REST API returns when something goes wrong. The tests use MockMv
- U

unit-test-application-events
GetThis agent skill gives patterns for writing unit tests for Spring application events, using JUnit 5 and Mockito. It targets two sides of the event flow. On the publisher side, it checks that a service publishes an ApplicationEvent through A
- U

unit-test-security-authorization
Getunit-test-security-authorization is an agent skill from the developer-kit collection for unit testing authorization in Spring Security. It covers method-level rules written with @PreAuthorize, @Secured and @RolesAllowed, as well as custom p
- U

unit-test-config-properties
GetThis agent skill gives patterns for unit testing Spring Boot @ConfigurationProperties classes, using JUnit 5 and the @ConfigurationPropertiesTest approach. It checks that properties bind correctly from configuration into the typed class. Th
More like unit-test-caching

unit-test-mapper-converter
Provides patterns for unit testing mappers, converters, and bean mappings

spring-boot-dependency-injection
Provides dependency injection patterns for Spring Boot projects

dotnet-best-practices
Validate .NET/C# code against comprehensive best practices for your solution

api-quality-assurance
DevsForge API Quality Assurance Engineer specializing in comprehensive API

unit-test-json-serialization
Provides patterns for unit testing JSON serialization/deserialization
About unit-test-caching

unit-test-caching
Provides patterns for unit testing Spring Cache annotations
This agent skill gives patterns for unit testing Spring's caching annotations, which are @Cacheable, @CachePut and @CacheEvict. The tests use an in-memory cache manager, ConcurrentMapCacheManager, so they run without a Redis server or a full Spring context. The skill covers cache hits and misses, which show whether a method body ran or whether its result came from the cache. It covers invalidation with @CacheEvict, so a test can confirm that stale entries are removed after a change. It covers @CachePut, which should refresh the cache with a new value. It also checks cache key generation from SpEL expressions, and conditional caching with the condition and unless parameters, which decide when a result is stored. The skill is a set of instructions for an AI coding agent that writes these tests in Java, and it is one of several Spring testing skills in the developer-kit repository by giuseppe-trisciuoglio, which has about 371 stars on GitHub. It is written for fast unit tests, so it does not cover integration tests against a real cache server.
- Price
- Free
- Made by
- giuseppe-trisciuoglio
- Category
- AI Skills
- Website
- github.com/giuseppe-trisciuoglio/developer-kit/unit-test-caching




















