Agent Skills: unit-test-scheduled-async

Provides patterns for unit testing Spring `@Scheduled` and `@Async` methods using JUnit 5, CompletableFuture, Awaitility, and Mockito. Covers mocking task execution and timing, verifying execution counts, testing cron expressions, validating retry behavior, and simulating thread pool behavior. Use when testing background tasks, cron jobs, periodic execution, scheduled tasks, or thread pool behavior.

ID: giuseppe-trisciuoglio/developer-kit/unit-test-scheduled-async

Install this agent skill to your local

npx skills add giuseppe-trisciuoglio/developer-kit --skill unit-test-scheduled-async

Skill Files

The files that make up unit-test-scheduled-async.

Download Skill

More agent skills