Skip to content

test: add Atomizer full flow tests#36

Merged
mnbuhl merged 6 commits into
mainfrom
feat/atomizer-flow-tests
May 16, 2026
Merged

test: add Atomizer full flow tests#36
mnbuhl merged 6 commits into
mainfrom
feat/atomizer-flow-tests

Conversation

@mnbuhl

@mnbuhl mnbuhl commented May 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a dedicated Atomizer.FlowTests project for hosted end-to-end flow coverage across InMemory, Redis, PostgreSQL, MySQL, and SQL Server storage drivers.
  • Covers P0, P1, and P2 flows including enqueue/process, scheduling, recurring jobs, ExecuteAsync, retries/failures, idempotency, partitions, queue routing, misfires, heartbeat recovery, shutdown release, and retention cleanup.
  • Keeps repeated setup in shared host, driver, recorder, timing, and test job helpers.

Changes

  • Registers Atomizer.FlowTests in the solution with Testcontainers-backed EF/Redis fixtures and xUnit collection isolation.
  • Adds shared flow-test infrastructure for hosted Atomizer processing, storage reset, polling/wait helpers, and deterministic test timings.
  • Exposes queue tick interval internally for test assemblies and grants InternalsVisibleTo for the flow test project.

mnbuhl and others added 2 commits May 16, 2026 22:00
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
@mnbuhl mnbuhl marked this pull request as ready for review May 16, 2026 20:30
mnbuhl and others added 4 commits May 16, 2026 22:30
Co-authored-by: Codex <noreply@openai.com>
Use millisecond precision for the scheduled flow input so all supported storage backends can round-trip the asserted ScheduledAt value exactly.

Co-authored-by: Codex <noreply@openai.com>
Enable MSBuild, target-framework, and VSTest container parallelism in the verify workflow. Increase the FlowTests wait budget so container-backed flows remain stable when all test assemblies run concurrently.

Co-authored-by: Codex <noreply@openai.com>
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Health
Atomizer 78%
Atomizer.Redis 87%
Atomizer.EntityFrameworkCore 92%
Atomizer 76%
Atomizer.Redis 88%
Atomizer 27%
Atomizer.EntityFrameworkCore 93%
Atomizer 27%
Atomizer 78%
Atomizer.EntityFrameworkCore 93%
Atomizer 27%
Atomizer.EntityFrameworkCore 93%
Atomizer 27%
Atomizer 78%
Atomizer.Redis 88%
Atomizer 27%
Summary 63% (16189 / 26249)

@mnbuhl mnbuhl merged commit fee00be into main May 16, 2026
2 checks passed
@mnbuhl mnbuhl deleted the feat/atomizer-flow-tests branch May 16, 2026 21:33
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