dragon-iso/src/tests
Zac Gaetano ea940ffac4
Some checks failed
CI / build-and-test (push) Failing after 27s
test(engine): extract ShouldAutoRebuild as pure fn + cover 6 cases
The self-heal trigger from c30a616 was time-based logic embedded in the RunAsync poll loop — easy to regress on a future refactor without anyone noticing. Pull it out into a public static ShouldAutoRebuild(sinceStart, sinceLastSeen, sinceLastRebuild) that returns the rebuild reason or null. RunAsync just calls it and acts on the result.

Six new test cases cover the matrix:
  - never seen + before warmup       -> hold
  - never seen + after warmup        -> rebuild
  - never seen + recent rebuild      -> backoff
  - had sources + long-gone          -> rebuild
  - had sources + recently gone      -> grace window
  - had sources + recent rebuild     -> backoff

112/112 Engine tests passing (was 106; +6 new).
2026-05-16 13:38:44 -04:00
..
TeamsISO.App.Tests test: integration — App+MainWindow STA smoke, control-surface live VM, theme XAML load 2026-05-15 21:34:09 -04:00
TeamsISO.Engine.IntegrationTests test(ndi): end-to-end pipeline round-trip with framerate normalization 2026-05-08 00:39:23 -04:00
TeamsISO.Engine.Tests test(engine): extract ShouldAutoRebuild as pure fn + cover 6 cases 2026-05-16 13:38:44 -04:00
.gitkeep chore: add empty TeamsISO solution 2026-05-07 15:07:58 +00:00