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

File contents

Arasz/ai-badger/tree/main/features/dotnet/skills/dotnet-workload/references/dotnet-hosted-service-testing commit 2e50e3725d

Frequently asked questions

npx skillmds@latest add arasz/dotnet-hosted-service-testing