Alternatives to unit-test-application-events
200 apps like unit-test-application-events, closest match first.
Top picks
- 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-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
- U

unit-test-caching
GetThis 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 ful
- 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
- U

unit-test-parameterized
Getunit-test-parameterized is an agent skill from the developer-kit collection that teaches the agent to write parameterized unit tests in Java with JUnit 5. Instead of copying one test for every input, it runs the same test logic against many
More like unit-test-application-events

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
About unit-test-application-events

unit-test-application-events
Provides patterns for unit testing Spring application events
This 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 ApplicationEventPublisher and that the event carries the right payload. On the listener side, it checks that an @EventListener method runs and produces the expected side effects, and that an event travels correctly through more than one listener. It also covers asynchronous handling, where @Async is combined with @EventListener. The main point of the skill is that the tests run without booting the full Spring context, which keeps them fast. The skill lists when to use it: writing tests for an event publisher or listener, checking an event's payload, testing listener side effects, and mocking ApplicationEventPublisher inside service tests. It is an instruction set for an AI coding agent working on a Java codebase, and it sits in the developer-kit repository by giuseppe-trisciuoglio, which has about 371 stars on GitHub.
- Price
- Free
- Made by
- giuseppe-trisciuoglio
- Category
- AI Skills
- Website
- github.com/giuseppe-trisciuoglio/developer-kit/unit-test-application-events

























