unit-test-scheduled-async
CommunityTest scheduled and async tasks without schedulers.
Authorgiuseppe-trisciuoglio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Unit tests for @Scheduled and @Async behavior without launching the Spring scheduler, including timing and concurrency considerations.
Core Features & Use Cases
- @Async testing: CompletableFuture return values and async error handling.
- @Scheduled testing: Validate scheduling logic with mocked timing.
- Awaitility/Timeouts: Use Awaitility to assert asynchronous outcomes.
Quick Start
Include Awaitility and JUnit; write tests that invoke async methods and await results without a running scheduler.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: unit-test-scheduled-async Download link: https://github.com/giuseppe-trisciuoglio/developer-kit/archive/main.zip#unit-test-scheduled-async Please download this .zip file, extract it, and install it in the .claude/skills/ directory.