Dotnet Hosted Service Testing

Use when writing or reviewing .NET BackgroundService tests with FakeTimeProvider/TimeProvider: lost-first-Advance semantics, inline-vs-threadpool timer callbacks, poll-loop test honesty (invocation counters, not side-effect counts), tick derivation from timeouts, DI registration smoke tests, vacuous-gate detection. Verified on .NET 10; includes an empirical probe script.

Arasz Updated 3 repo stars

File contents

Arasz/ai-badger commit 2e50e3725d

Frequently asked questions

npx get-skill add arasz/dotnet-hosted-service-testing