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.

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

Install this agent skill to your local

pnpm dlx add-skill https://github.com/giuseppe-trisciuoglio/developer-kit/unit-test-scheduled-async

Skill Files

Browse the full folder contents for unit-test-scheduled-async.

Download Skill

Loading file tree…

Select a file to preview its contents.