Skip to content
U

unit-test-scheduled-async

Provides patterns for unit testing Spring `@Scheduled`

by giuseppe-trisciuoglioFree

#7355in AI Skills
0In stores

Description

unit-test-scheduled-async is an agent skill from the developer-kit collection for unit testing Spring methods annotated with @Scheduled and…

Highlights

  • Tests for @Scheduled and @Async methods
  • CompletableFuture result checks
  • Awaitility for timing-sensitive assertions
  • Cron logic tested without real waits
  • Thread pool and execution count checks

Ratings & Reviews

No ratings yet

Be the first to rate unit-test-scheduled-async.

People also visit

U

unit-test-caching

Provides patterns for unit testing Spring Cache annotations

AI Skills
Get
U

unit-test-application-events

Provides patterns for unit testing Spring application events

AI Skills
Get
U

unit-test-exception-handler

Provides patterns for unit testing `@ExceptionHandler`

AI Skills
Get
U

unit-test-security-authorization

Provides patterns for unit testing Spring Security

AI Skills
Get
U

unit-test-parameterized

Provides parameterized testing patterns

AI Skills
Get
T

testability-obstacle

MUST USE for C#/.NET deterministic tests

AI Skills
Get

unit-test-scheduled-async FAQ

What does the unit-test-scheduled-async skill do?

It guides an agent in writing JUnit 5 tests for Spring @Scheduled and @Async methods, so the background logic can be checked in isolation.

Does it test without waiting for the schedule?

Yes. The page says the tests check task logic and cron expressions without waiting for real scheduling intervals.

How do I install it?

Run: npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-scheduled-async

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best unit-test-scheduled-async alternatives?

Popular alternatives to unit-test-scheduled-async include unit-test-caching, unit-test-application-events and unit-test-exception-handler. See all unit-test-scheduled-async alternatives

Developer Stuff

Badges