Skip to content

test: add shared lifecycle suite for inline and background tasks#586

Merged
merencia merged 2 commits into
mainfrom
test/lifecycle
Jun 24, 2026
Merged

test: add shared lifecycle suite for inline and background tasks#586
merencia merged 2 commits into
mainfrom
test/lifecycle

Conversation

@merencia

@merencia merencia commented Jun 24, 2026

Copy link
Copy Markdown
Member

Parametrized test suite that validates the full task lifecycle through the ScheduledTask interface. Runs the same 20 tests against both inline and background task implementations via a factory function.

Covers: state transitions (stopped/idle/destroyed), execution events (started/finished/failed), lastRun, introspection (pattern, nextRun, id), and an e2e test that chains create -> start -> execute -> stop -> restart -> execute -> destroy.

merencia added 2 commits June 24, 2026 14:59
Parametrized test suite that validates the full task lifecycle (state
transitions, execution events, introspection, error paths) through the
ScheduledTask interface. Runs the same 20 tests against both inline and
background task implementations via a factory function.
@merencia merencia merged commit 1934e04 into main Jun 24, 2026
7 checks passed
@merencia merencia deleted the test/lifecycle branch June 24, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant